Enum git_checks_core::AttributeState
source · pub enum AttributeState {
Unspecified,
Set,
Unset,
Value(String),
}
Expand description
States attributes may be in.
Variants§
Unspecified
The attribute is neither set nor unset.
Set
The attribute is set.
Unset
The attribute is unset.
Value(String)
The attribute is set with the given value.
Trait Implementations§
source§impl Clone for AttributeState
impl Clone for AttributeState
source§fn clone(&self) -> AttributeState
fn clone(&self) -> AttributeState
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 AttributeState
impl Debug for AttributeState
source§impl PartialEq for AttributeState
impl PartialEq for AttributeState
source§fn eq(&self, other: &AttributeState) -> bool
fn eq(&self, other: &AttributeState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AttributeState
impl StructuralPartialEq for AttributeState
Auto Trait Implementations§
impl Freeze for AttributeState
impl RefUnwindSafe for AttributeState
impl Send for AttributeState
impl Sync for AttributeState
impl Unpin for AttributeState
impl UnwindSafe for AttributeState
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