Enum transit_model::objects::Availability
source · pub enum Availability {
InformationNotAvailable,
Available,
NotAvailable,
}
Variants§
Trait Implementations§
source§impl Clone for Availability
impl Clone for Availability
source§fn clone(&self) -> Availability
fn clone(&self) -> Availability
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 Availability
impl Debug for Availability
source§impl Default for Availability
impl Default for Availability
source§impl<'de> Deserialize<'de> for Availability
impl<'de> Deserialize<'de> for Availability
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 Hash for Availability
impl Hash for Availability
source§impl Ord for Availability
impl Ord for Availability
source§fn cmp(&self, other: &Availability) -> Ordering
fn cmp(&self, other: &Availability) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<Availability> for Availability
impl PartialEq<Availability> for Availability
source§fn eq(&self, other: &Availability) -> bool
fn eq(&self, other: &Availability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<Availability> for Availability
impl PartialOrd<Availability> for Availability
source§fn partial_cmp(&self, other: &Availability) -> Option<Ordering>
fn partial_cmp(&self, other: &Availability) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for Availability
impl Serialize for Availability
impl Copy for Availability
impl Eq for Availability
impl StructuralEq for Availability
impl StructuralPartialEq for Availability
Auto Trait Implementations§
impl RefUnwindSafe for Availability
impl Send for Availability
impl Sync for Availability
impl Unpin for Availability
impl UnwindSafe for Availability
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