pub enum CapabilityNeed {
Required,
Optional,
}Expand description
Closed capability requirement strength vocabulary.
Variants§
Trait Implementations§
Source§impl Clone for CapabilityNeed
impl Clone for CapabilityNeed
Source§fn clone(&self) -> CapabilityNeed
fn clone(&self) -> CapabilityNeed
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 moreimpl Copy for CapabilityNeed
Source§impl Debug for CapabilityNeed
impl Debug for CapabilityNeed
Source§impl<'de> Deserialize<'de> for CapabilityNeed
impl<'de> Deserialize<'de> for CapabilityNeed
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 CapabilityNeed
Source§impl PartialEq for CapabilityNeed
impl PartialEq for CapabilityNeed
Source§impl Serialize for CapabilityNeed
impl Serialize for CapabilityNeed
impl StructuralPartialEq for CapabilityNeed
Auto Trait Implementations§
impl Freeze for CapabilityNeed
impl RefUnwindSafe for CapabilityNeed
impl Send for CapabilityNeed
impl Sync for CapabilityNeed
impl Unpin for CapabilityNeed
impl UnsafeUnpin for CapabilityNeed
impl UnwindSafe for CapabilityNeed
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