pub struct RailLine {
pub code: String,
pub name: Option<Sourced<String>>,
pub colour: Option<Sourced<String>>,
pub company: Sourced<ID>,
pub ref_stop: Option<Sourced<ID>>,
pub common: NodeCommon,
}
Fields§
§code: String
§name: Option<Sourced<String>>
§colour: Option<Sourced<String>>
§company: Sourced<ID>
§ref_stop: Option<Sourced<ID>>
§common: NodeCommon
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RailLine
impl<'de> Deserialize<'de> for RailLine
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 RailLine
impl RefUnwindSafe for RailLine
impl Send for RailLine
impl Sync for RailLine
impl Unpin for RailLine
impl UnwindSafe for RailLine
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