Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ pub struct Check {
#[serde(rename = "numDistinctUsers")]
pub num_distinct_users: u64,
#[serde(rename = "lastReportedAt")]
pub last_reported_at: DateTime<Utc>,
pub last_reported_at: Option<DateTime<Utc>>,
pub reports: Option<Vec<CheckReport>>,
}

Expand All @@ -217,9 +217,9 @@ pub struct CheckReport {
#[serde(rename = "reporterId")]
pub reporter_id: u64,
#[serde(rename = "reporterCountryCode")]
pub reporter_country_code: String,
pub reporter_country_code: Option<String>,
#[serde(rename = "reporterCountryName")]
pub reporter_country_name: String,
pub reporter_country_name: Option<String>,
}

// Verbose flag if `false`, will exclude reports and the country name field.
Expand Down