Struct lta_models::crowd::crowd_density::CrowdDensityForecastRaw
source · pub struct CrowdDensityForecastRaw {
pub datetime: OffsetDateTime,
pub stations: Vec<StationCrowdForecast>,
}
Fields§
§datetime: OffsetDateTime
Time in GMT+8
stations: Vec<StationCrowdForecast>
Trait Implementations§
source§impl Clone for CrowdDensityForecastRaw
impl Clone for CrowdDensityForecastRaw
source§fn clone(&self) -> CrowdDensityForecastRaw
fn clone(&self) -> CrowdDensityForecastRaw
Returns a copy 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 CrowdDensityForecastRaw
impl Debug for CrowdDensityForecastRaw
source§impl<'de> Deserialize<'de> for CrowdDensityForecastRaw
impl<'de> Deserialize<'de> for CrowdDensityForecastRaw
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 From<CrowdDensityForecastRaw> for CrowdDensityForecast
impl From<CrowdDensityForecastRaw> for CrowdDensityForecast
source§fn from(r: CrowdDensityForecastRaw) -> Self
fn from(r: CrowdDensityForecastRaw) -> Self
Converts to this type from the input type.
source§impl PartialEq for CrowdDensityForecastRaw
impl PartialEq for CrowdDensityForecastRaw
source§fn eq(&self, other: &CrowdDensityForecastRaw) -> bool
fn eq(&self, other: &CrowdDensityForecastRaw) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CrowdDensityForecastRaw
impl Serialize for CrowdDensityForecastRaw
impl StructuralPartialEq for CrowdDensityForecastRaw
Auto Trait Implementations§
impl RefUnwindSafe for CrowdDensityForecastRaw
impl Send for CrowdDensityForecastRaw
impl Sync for CrowdDensityForecastRaw
impl Unpin for CrowdDensityForecastRaw
impl UnwindSafe for CrowdDensityForecastRaw
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