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§fn default() -> Availability
fn default() -> Availability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Availability
impl<'de> Deserialize<'de> for Availability
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Availability, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Availability, <__D as Deserializer<'de>>::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) -> Availability
fn from(input: Availability) -> Availability
Converts to this type from the input type.
Source§impl Hash for Availability
impl Hash for Availability
Source§impl NativeIntoFidl<Availability> for Availability
impl NativeIntoFidl<Availability> for Availability
fn native_into_fidl(self) -> 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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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
)Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.