pub enum BoardingArea {
Zone(ValidityZone),
Vehicle(VehicleType),
ZoneCircle(u8),
}
Expand description
The type and value of area where boarding last happened.
Variants§
Trait Implementations§
Source§impl Debug for BoardingArea
impl Debug for BoardingArea
Source§impl From<&BoardingArea> for u8
impl From<&BoardingArea> for u8
Source§fn from(val: &BoardingArea) -> Self
fn from(val: &BoardingArea) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BoardingArea
impl RefUnwindSafe for BoardingArea
impl Send for BoardingArea
impl Sync for BoardingArea
impl Unpin for BoardingArea
impl UnwindSafe for BoardingArea
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