Enum git_checks::AttributeState [−][src]
pub enum AttributeState { Unspecified, Set, Unset, Value(String), }
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
impl Debug for AttributeState
[src]
impl Debug for AttributeState
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for AttributeState
[src]
impl Clone for AttributeState
fn clone(&self) -> AttributeState
[src]
fn clone(&self) -> AttributeState
Returns 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 AttributeState
fn eq(&self, other: &AttributeState) -> bool
[src]
fn eq(&self, other: &AttributeState) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for AttributeState
[src]
impl Eq for AttributeState
Auto Trait Implementations
impl Send for AttributeState
impl Send for AttributeState
impl Sync for AttributeState
impl Sync for AttributeState