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 · 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 · 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§impl PartialOrd for DirectionType
impl PartialOrd for DirectionType
Source§impl Serialize for DirectionType
impl Serialize for DirectionType
impl Copy for DirectionType
impl Eq for DirectionType
impl StructuralPartialEq for DirectionType
Auto Trait Implementations§
impl Freeze for DirectionType
impl RefUnwindSafe for DirectionType
impl Send for DirectionType
impl Sync for DirectionType
impl Unpin for DirectionType
impl UnwindSafe for DirectionType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.