Enum lta_models::train::train_service_alert::TrainStatus
source · #[repr(u32)]pub enum TrainStatus {
Normal = 1,
Disrupted = 2,
Unknown = 3,
}
Variants§
Trait Implementations§
source§impl Clone for TrainStatus
impl Clone for TrainStatus
source§fn clone(&self) -> TrainStatus
fn clone(&self) -> TrainStatus
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 TrainStatus
impl Debug for TrainStatus
source§impl Default for TrainStatus
impl Default for TrainStatus
source§fn default() -> TrainStatus
fn default() -> TrainStatus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TrainStatus
impl<'de> Deserialize<'de> for TrainStatus
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 TrainStatus
impl PartialEq for TrainStatus
source§fn eq(&self, other: &TrainStatus) -> bool
fn eq(&self, other: &TrainStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TrainStatus
impl Serialize for TrainStatus
impl StructuralPartialEq for TrainStatus
Auto Trait Implementations§
impl RefUnwindSafe for TrainStatus
impl Send for TrainStatus
impl Sync for TrainStatus
impl Unpin for TrainStatus
impl UnwindSafe for TrainStatus
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