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