pub enum CapabilityState {
Available,
Skipped,
Unavailable,
}Expand description
State of a capability: available, skipped, or unavailable.
Variants§
Available
Capability is available and was used.
Skipped
Capability is available but was skipped (e.g., –no-git flag).
Capability is unavailable (e.g., not in a git repo).
Trait Implementations§
Source§impl Clone for CapabilityState
impl Clone for CapabilityState
Source§fn clone(&self) -> CapabilityState
fn clone(&self) -> CapabilityState
Returns a duplicate 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 CapabilityState
impl Debug for CapabilityState
Source§impl<'de> Deserialize<'de> for CapabilityState
impl<'de> Deserialize<'de> for CapabilityState
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 PartialEq for CapabilityState
impl PartialEq for CapabilityState
Source§impl Serialize for CapabilityState
impl Serialize for CapabilityState
impl Copy for CapabilityState
impl Eq for CapabilityState
impl StructuralPartialEq for CapabilityState
Auto Trait Implementations§
impl Freeze for CapabilityState
impl RefUnwindSafe for CapabilityState
impl Send for CapabilityState
impl Sync for CapabilityState
impl Unpin for CapabilityState
impl UnsafeUnpin for CapabilityState
impl UnwindSafe for CapabilityState
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