Enum git_checks::impl_prelude::AttributeState [−][src]
pub enum AttributeState {
Unspecified,
Set,
Unset,
Value(String),
}States attributes may be in.
Variants
UnspecifiedThe attribute is neither set nor unset.
SetThe attribute is set.
UnsetThe attribute is unset.
Value(String)The attribute is set with the given value.
Trait Implementations
impl Debug for AttributeState[src]
impl Debug for AttributeStatefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for AttributeState[src]
impl Clone for AttributeStatefn clone(&self) -> AttributeState[src]
fn clone(&self) -> AttributeStateReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for AttributeState[src]
impl PartialEq for AttributeStatefn eq(&self, other: &AttributeState) -> bool[src]
fn eq(&self, other: &AttributeState) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &AttributeState) -> bool[src]
fn ne(&self, other: &AttributeState) -> boolThis method tests for !=.
impl Eq for AttributeState[src]
impl Eq for AttributeStateAuto Trait Implementations
impl Send for AttributeState
impl Send for AttributeStateimpl Sync for AttributeState
impl Sync for AttributeState