pub struct LatestDataset {
pub id: Option<String>,
pub hosted_url: Option<String>,
pub bounding_box: Option<Box<BoundingBox>>,
pub downloaded_at: Option<String>,
pub hash: Option<String>,
pub service_date_range_start: Option<String>,
pub service_date_range_end: Option<String>,
pub agency_timezone: Option<String>,
pub zipped_folder_size_mb: Option<f64>,
pub unzipped_folder_size_mb: Option<f64>,
pub validation_report: Option<Box<LatestDatasetValidationReport>>,
}Fields§
§id: Option<String>Identifier of the latest dataset for this feed.
hosted_url: Option<String>As a convenience, the URL of the latest uploaded dataset hosted by MobilityData. It should be the same URL as the one found in the latest dataset id dataset. An alternative way to find this is to use the latest dataset id to obtain the dataset and then use its hosted_url.
bounding_box: Option<Box<BoundingBox>>§downloaded_at: Option<String>The date and time the dataset was downloaded from the producer, in ISO 8601 date-time format.
hash: Option<String>A hash of the dataset.
service_date_range_start: Option<String>The start date of the service date range for the dataset in UTC. Timing starts at 00:00:00 of the day.
service_date_range_end: Option<String>The start date of the service date range for the dataset in UTC. Timing ends at 23:59:59 of the day.
agency_timezone: Option<String>The timezone of the agency.
zipped_folder_size_mb: Option<f64>The size of the zipped folder in MB.
unzipped_folder_size_mb: Option<f64>The size of the unzipped folder in MB.
validation_report: Option<Box<LatestDatasetValidationReport>>Implementations§
Source§impl LatestDataset
impl LatestDataset
pub fn new() -> LatestDataset
Trait Implementations§
Source§impl Clone for LatestDataset
impl Clone for LatestDataset
Source§fn clone(&self) -> LatestDataset
fn clone(&self) -> LatestDataset
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LatestDataset
impl Debug for LatestDataset
Source§impl Default for LatestDataset
impl Default for LatestDataset
Source§fn default() -> LatestDataset
fn default() -> LatestDataset
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LatestDataset
impl<'de> Deserialize<'de> for LatestDataset
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LatestDataset
impl PartialEq for LatestDataset
Source§impl Serialize for LatestDataset
impl Serialize for LatestDataset
impl StructuralPartialEq for LatestDataset
Auto Trait Implementations§
impl Freeze for LatestDataset
impl RefUnwindSafe for LatestDataset
impl Send for LatestDataset
impl Sync for LatestDataset
impl Unpin for LatestDataset
impl UnwindSafe for LatestDataset
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more