pub struct DisruptionSection {
pub from: DisruptionStation,
pub to: DisruptionStation,
pub track_number: u32,
}
Fields§
§from: DisruptionStation
§to: DisruptionStation
§track_number: u32
Trait Implementations§
Source§impl Clone for DisruptionSection
impl Clone for DisruptionSection
Source§fn clone(&self) -> DisruptionSection
fn clone(&self) -> DisruptionSection
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 DisruptionSection
impl Debug for DisruptionSection
Source§impl<'de> Deserialize<'de> for DisruptionSection
impl<'de> Deserialize<'de> for DisruptionSection
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 DisruptionSection
impl PartialEq for DisruptionSection
Source§impl Serialize for DisruptionSection
impl Serialize for DisruptionSection
impl StructuralPartialEq for DisruptionSection
Auto Trait Implementations§
impl Freeze for DisruptionSection
impl RefUnwindSafe for DisruptionSection
impl Send for DisruptionSection
impl Sync for DisruptionSection
impl Unpin for DisruptionSection
impl UnwindSafe for DisruptionSection
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