Enum etcd::auth::AuthChange
source · pub enum AuthChange {
Changed,
Unchanged,
}
Expand description
The type returned when the auth system is successfully enabled or disabled.
Variants§
Changed
The auth system was successfully enabled or disabled.
Unchanged
The auth system was already in the desired state.
Trait Implementations§
source§impl Clone for AuthChange
impl Clone for AuthChange
source§fn clone(&self) -> AuthChange
fn clone(&self) -> AuthChange
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 AuthChange
impl Debug for AuthChange
source§impl<'de> Deserialize<'de> for AuthChange
impl<'de> Deserialize<'de> for AuthChange
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 Hash for AuthChange
impl Hash for AuthChange
source§impl PartialEq<AuthChange> for AuthChange
impl PartialEq<AuthChange> for AuthChange
source§fn eq(&self, other: &AuthChange) -> bool
fn eq(&self, other: &AuthChange) -> bool
source§impl Serialize for AuthChange
impl Serialize for AuthChange
impl Copy for AuthChange
impl Eq for AuthChange
impl StructuralEq for AuthChange
impl StructuralPartialEq for AuthChange
Auto Trait Implementations§
impl RefUnwindSafe for AuthChange
impl Send for AuthChange
impl Sync for AuthChange
impl Unpin for AuthChange
impl UnwindSafe for AuthChange
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.