pub enum Availability {
Required,
Optional,
SameAsTarget,
Transitional,
}
Expand description
Capability availability. See Availability
.
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 Display for Availability
impl Display for Availability
Source§impl From<Availability> for Availability
impl From<Availability> for Availability
Source§fn from(input: Availability) -> Self
fn from(input: Availability) -> Self
Converts to this type from the input type.
Source§impl From<Availability> for Availability
impl From<Availability> for Availability
Source§fn from(input: Availability) -> Self
fn from(input: Availability) -> Self
Converts to this type from the input type.
Source§impl Hash for Availability
impl Hash for Availability
Source§impl PartialEq for Availability
impl PartialEq for Availability
Source§impl PartialOrd for Availability
impl PartialOrd for Availability
Source§impl Serialize for Availability
impl Serialize for Availability
impl Copy for Availability
impl Eq for Availability
impl StructuralPartialEq for Availability
Auto Trait Implementations§
impl Freeze for Availability
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)