pub enum DirectionType {
Right,
Left,
Up,
Down,
}Expand description
DirectionType : Direction of a place, defined optional as it might be omitted in case of berths in future. Code list according to UIC90918-1 Valid Values: - RIGHT: to right, RIGHT is the default. In case of walls it indicates a wall parallel with the x axis. - LEFT: to left - UP: up (from right side of a coach pointing to the middle of the aisle) - DOWN: down (from right side of the coach pointing to the middle of the aisle) Direction of a place, defined optional as it might be omitted in case of berths in future. Code list according to UIC90918-1 Valid Values: - RIGHT: to right, RIGHT is the default. In case of walls it indicates a wall parallel with the x axis. - LEFT: to left - UP: up (from right side of a coach pointing to the middle of the aisle) - DOWN: down (from right side of the coach pointing to the middle of the aisle)
Variants§
Trait Implementations§
Source§impl Clone for DirectionType
impl Clone for DirectionType
Source§fn clone(&self) -> DirectionType
fn clone(&self) -> DirectionType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DirectionType
impl Debug for DirectionType
Source§impl Default for DirectionType
impl Default for DirectionType
Source§fn default() -> DirectionType
fn default() -> DirectionType
Source§impl<'de> Deserialize<'de> for DirectionType
impl<'de> Deserialize<'de> for DirectionType
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>,
Source§impl Display for DirectionType
impl Display for DirectionType
Source§impl Hash for DirectionType
impl Hash for DirectionType
Source§impl Ord for DirectionType
impl Ord for DirectionType
Source§fn cmp(&self, other: &DirectionType) -> Ordering
fn cmp(&self, other: &DirectionType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for DirectionType
impl PartialEq for DirectionType
Source§fn eq(&self, other: &DirectionType) -> bool
fn eq(&self, other: &DirectionType) -> bool
self and other values to be equal, and is used by ==.