Enum lta_models::train::StationCode
source · pub enum StationCode {
Show 230 variants
NS1,
NS2,
NS3,
NS4,
NS5,
NS6,
NS7,
NS8,
NS9,
NS10,
NS11,
NS12,
NS13,
NS14,
NS15,
NS16,
NS17,
NS18,
NS19,
NS20,
NS21,
NS22,
NS23,
NS24,
NS25,
NS26,
NS27,
NS28,
EW1,
EW2,
EW3,
EW4,
EW5,
EW6,
EW7,
EW8,
EW9,
EW10,
EW11,
EW12,
EW13,
EW14,
EW15,
EW16,
EW17,
EW18,
EW19,
EW20,
EW21,
EW22,
EW23,
EW24,
EW25,
EW26,
EW27,
EW28,
EW29,
EW30,
EW31,
EW32,
EW33,
CG,
CG1,
CG2,
NE1,
NE2,
NE3,
NE4,
NE5,
NE6,
NE7,
NE8,
NE9,
NE10,
NE11,
NE12,
NE13,
NE14,
NE15,
NE16,
NE17,
CC1,
CC2,
CC3,
CC4,
CC5,
CC6,
CC7,
CC8,
CC9,
CC10,
CC11,
CC12,
CC13,
CC14,
CC15,
CC16,
CC17,
CC18,
CC19,
CC20,
CC21,
CC22,
CC23,
CC24,
CC25,
CC26,
CC27,
CC28,
CC29,
CC30,
CC31,
CC32,
CC33,
CC34,
CE1,
CE2,
DT1,
DT2,
DT3,
DT4,
DT5,
DT6,
DT7,
DT8,
DT9,
DT10,
DT11,
DT12,
DT13,
DT14,
DT15,
DT16,
DT17,
DT18,
DT19,
DT20,
DT21,
DT22,
DT23,
DT24,
DT25,
DT26,
DT27,
DT28,
DT29,
DT30,
DT31,
DT32,
DT33,
DT34,
DT35,
DT36,
DT37,
TE1,
TE2,
TE3,
TE4,
TE5,
TE6,
TE7,
TE8,
TE9,
TE10,
TE11,
TE12,
TE13,
TE14,
TE15,
TE16,
TE17,
TE18,
TE19,
TE20,
TE21,
TE22,
TE22A,
TE23,
TE24,
TE25,
TE26,
TE27,
TE28,
TE29,
TE30,
TE31,
BP1,
BP2,
BP3,
BP4,
BP5,
BP6,
BP7,
BP8,
BP9,
BP10,
BP11,
BP12,
BP13,
BP14,
STC,
SE1,
SE2,
SE3,
SE4,
SE5,
SW1,
SW2,
SW3,
SW4,
SW5,
SW6,
SW7,
SW8,
PTC,
PE1,
PE2,
PE3,
PE4,
PE5,
PE6,
PE7,
PW1,
PW2,
PW3,
PW4,
PW5,
PW6,
PW7,
Unknown,
}
Expand description
Variants§
NS1
NS2
NS3
NS4
NS5
NS6
NS7
NS8
NS9
NS10
NS11
NS12
NS13
NS14
NS15
NS16
NS17
NS18
NS19
NS20
NS21
NS22
NS23
NS24
NS25
NS26
NS27
NS28
EW1
EW2
EW3
EW4
EW5
EW6
EW7
EW8
EW9
EW10
EW11
EW12
EW13
EW14
EW15
EW16
EW17
EW18
EW19
EW20
EW21
EW22
EW23
EW24
EW25
EW26
EW27
EW28
EW29
EW30
EW31
EW32
EW33
CG
CG1
CG2
NE1
NE2
NE3
NE4
NE5
NE6
NE7
NE8
NE9
NE10
NE11
NE12
NE13
NE14
NE15
NE16
NE17
CC1
CC2
CC3
CC4
CC5
CC6
CC7
CC8
CC9
CC10
CC11
CC12
CC13
CC14
CC15
CC16
CC17
CC18
CC19
CC20
CC21
CC22
CC23
CC24
CC25
CC26
CC27
CC28
CC29
CC30
CC31
CC32
CC33
CC34
CE1
CE2
DT1
DT2
DT3
DT4
DT5
DT6
DT7
DT8
DT9
DT10
DT11
DT12
DT13
DT14
DT15
DT16
DT17
DT18
DT19
DT20
DT21
DT22
DT23
DT24
DT25
DT26
DT27
DT28
DT29
DT30
DT31
DT32
DT33
DT34
DT35
DT36
DT37
TE1
TE2
TE3
TE4
TE5
TE6
TE7
TE8
TE9
TE10
TE11
TE12
TE13
TE14
TE15
TE16
TE17
TE18
TE19
TE20
TE21
TE22
TE22A
TE23
TE24
TE25
TE26
TE27
TE28
TE29
TE30
TE31
BP1
BP2
BP3
BP4
BP5
BP6
BP7
BP8
BP9
BP10
BP11
BP12
BP13
BP14
STC
SE1
SE2
SE3
SE4
SE5
SW1
SW2
SW3
SW4
SW5
SW6
SW7
SW8
PTC
PE1
PE2
PE3
PE4
PE5
PE6
PE7
PW1
PW2
PW3
PW4
PW5
PW6
PW7
Unknown
Trait Implementations§
source§impl Clone for StationCode
impl Clone for StationCode
source§fn clone(&self) -> StationCode
fn clone(&self) -> StationCode
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 StationCode
impl Debug for StationCode
source§impl Default for StationCode
impl Default for StationCode
source§fn default() -> StationCode
fn default() -> StationCode
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StationCode
impl<'de> Deserialize<'de> for StationCode
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 StationCode
impl PartialEq for StationCode
source§fn eq(&self, other: &StationCode) -> bool
fn eq(&self, other: &StationCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StationCode
impl Serialize for StationCode
impl StructuralPartialEq for StationCode
Auto Trait Implementations§
impl RefUnwindSafe for StationCode
impl Send for StationCode
impl Sync for StationCode
impl Unpin for StationCode
impl UnwindSafe for StationCode
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