pub struct BusLine {
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 BusLine
impl<'de> Deserialize<'de> for BusLine
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 BusLine
impl RefUnwindSafe for BusLine
impl Send for BusLine
impl Sync for BusLine
impl Unpin for BusLine
impl UnwindSafe for BusLine
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