pub enum AvailabilityMode {
All,
Any,
Latest,
}Variants§
Trait Implementations§
Source§impl Clone for AvailabilityMode
impl Clone for AvailabilityMode
Source§fn clone(&self) -> AvailabilityMode
fn clone(&self) -> AvailabilityMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AvailabilityMode
impl Debug for AvailabilityMode
Source§impl Default for AvailabilityMode
impl Default for AvailabilityMode
Source§fn default() -> AvailabilityMode
fn default() -> AvailabilityMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AvailabilityMode
impl<'de> Deserialize<'de> for AvailabilityMode
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
impl Eq for AvailabilityMode
Source§impl PartialEq for AvailabilityMode
impl PartialEq for AvailabilityMode
Source§fn eq(&self, other: &AvailabilityMode) -> bool
fn eq(&self, other: &AvailabilityMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AvailabilityMode
impl Serialize for AvailabilityMode
impl StructuralPartialEq for AvailabilityMode
Auto Trait Implementations§
impl Freeze for AvailabilityMode
impl RefUnwindSafe for AvailabilityMode
impl Send for AvailabilityMode
impl Sync for AvailabilityMode
impl Unpin for AvailabilityMode
impl UnsafeUnpin for AvailabilityMode
impl UnwindSafe for AvailabilityMode
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