pub struct RailCompany {
pub name: String,
pub lines: Vec<Sourced<ID>>,
pub stations: Vec<Sourced<ID>>,
pub local: bool,
pub common: NodeCommon,
}
Fields§
§name: String
§lines: Vec<Sourced<ID>>
§stations: Vec<Sourced<ID>>
§local: bool
§common: NodeCommon
Trait Implementations§
Source§impl Clone for RailCompany
impl Clone for RailCompany
Source§fn clone(&self) -> RailCompany
fn clone(&self) -> RailCompany
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 RailCompany
impl Debug for RailCompany
Source§impl<'de> Deserialize<'de> for RailCompany
impl<'de> Deserialize<'de> for RailCompany
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 RailCompany
impl RefUnwindSafe for RailCompany
impl Send for RailCompany
impl Sync for RailCompany
impl Unpin for RailCompany
impl UnwindSafe for RailCompany
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