pub enum ValidityZone {
ZoneA = 0,
ZoneB = 1,
ZoneC = 2,
ZoneD = 3,
ZoneE = 4,
ZoneF = 5,
ZoneG = 6,
ZoneH = 7,
}
Expand description
The HSL fare zone(s) in which a ticket is valid.
Variants§
Trait Implementations§
Source§impl Clone for ValidityZone
impl Clone for ValidityZone
Source§fn clone(&self) -> ValidityZone
fn clone(&self) -> ValidityZone
Returns a duplicate 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 ValidityZone
impl Debug for ValidityZone
Source§impl From<&ValidityZone> for u8
impl From<&ValidityZone> for u8
Source§fn from(value: &ValidityZone) -> Self
fn from(value: &ValidityZone) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ValidityZone
impl RefUnwindSafe for ValidityZone
impl Send for ValidityZone
impl Sync for ValidityZone
impl Unpin for ValidityZone
impl UnwindSafe for ValidityZone
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