Struct lta_models::crowd::crowd_density::StationCrowdLevel
source · pub struct StationCrowdLevel {
pub station: StationCode,
pub start_time: OffsetDateTime,
pub end_time: OffsetDateTime,
pub crowd_level: CrowdLevel,
}
Fields§
§station: StationCode
§start_time: OffsetDateTime
§end_time: OffsetDateTime
§crowd_level: CrowdLevel
Trait Implementations§
source§impl Clone for StationCrowdLevel
impl Clone for StationCrowdLevel
source§fn clone(&self) -> StationCrowdLevel
fn clone(&self) -> StationCrowdLevel
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 StationCrowdLevel
impl Debug for StationCrowdLevel
source§impl<'de> Deserialize<'de> for StationCrowdLevel
impl<'de> Deserialize<'de> for StationCrowdLevel
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<StationCrowdLevelRaw> for StationCrowdLevel
impl From<StationCrowdLevelRaw> for StationCrowdLevel
source§fn from(r: StationCrowdLevelRaw) -> Self
fn from(r: StationCrowdLevelRaw) -> Self
Converts to this type from the input type.
source§impl PartialEq for StationCrowdLevel
impl PartialEq for StationCrowdLevel
source§fn eq(&self, other: &StationCrowdLevel) -> bool
fn eq(&self, other: &StationCrowdLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StationCrowdLevel
impl Serialize for StationCrowdLevel
impl StructuralPartialEq for StationCrowdLevel
Auto Trait Implementations§
impl RefUnwindSafe for StationCrowdLevel
impl Send for StationCrowdLevel
impl Sync for StationCrowdLevel
impl Unpin for StationCrowdLevel
impl UnwindSafe for StationCrowdLevel
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