Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kurotych committed Dec 18, 2024
1 parent c9efa11 commit 691771f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mobile_config/src/gateway_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,11 @@ pub struct GatewayInfo {
pub address: PublicKeyBinary,
pub metadata: Option<GatewayMetadata>,
pub device_type: DeviceType,
// None for GatewayInfoProto (V1)
pub updated_at: Option<DateTime<Utc>>,
// Optional fields are None for GatewayInfoProto (V1)
pub created_at: Option<DateTime<Utc>>,
// updated_at refers to the last time the data was actually changed.
pub updated_at: Option<DateTime<Utc>>,
// refreshed_at indicates the last time the chain was consulted, regardless of data changes.
pub refreshed_at: Option<DateTime<Utc>>,
}

Expand Down

0 comments on commit 691771f

Please sign in to comment.