pub struct Disruption { /* private fields */ }Expand description
Disruption data
Implementations§
Source§impl Disruption
impl Disruption
Sourcepub fn delay_amount(&self) -> &i32
pub fn delay_amount(&self) -> &i32
Delay (in minutes)
Sourcepub fn location_code(&self) -> &String
pub fn location_code(&self) -> &String
Unknown
Sourcepub fn running_state(&self) -> &u16
pub fn running_state(&self) -> &u16
Unknown
Trait Implementations§
Source§impl Debug for Disruption
impl Debug for Disruption
Source§impl<'de> Deserialize<'de> for Disruption
impl<'de> Deserialize<'de> for Disruption
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
Auto Trait Implementations§
impl Freeze for Disruption
impl RefUnwindSafe for Disruption
impl Send for Disruption
impl Sync for Disruption
impl Unpin for Disruption
impl UnwindSafe for Disruption
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