Struct etcd::kv::KeyValueInfo
source · Expand description
Information about the result of a successful key-value API operation.
Fields§
§action: Action
The action that was taken, e.g. get
, set
.
node: Node
The etcd Node
that was operated upon.
prev_node: Option<Node>
The previous state of the target node.
Trait Implementations§
source§impl Clone for KeyValueInfo
impl Clone for KeyValueInfo
source§fn clone(&self) -> KeyValueInfo
fn clone(&self) -> KeyValueInfo
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 KeyValueInfo
impl Debug for KeyValueInfo
source§impl<'de> Deserialize<'de> for KeyValueInfo
impl<'de> Deserialize<'de> for KeyValueInfo
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 KeyValueInfo
impl Hash for KeyValueInfo
source§impl PartialEq<KeyValueInfo> for KeyValueInfo
impl PartialEq<KeyValueInfo> for KeyValueInfo
source§fn eq(&self, other: &KeyValueInfo) -> bool
fn eq(&self, other: &KeyValueInfo) -> bool
source§impl Serialize for KeyValueInfo
impl Serialize for KeyValueInfo
impl Eq for KeyValueInfo
impl StructuralEq for KeyValueInfo
impl StructuralPartialEq for KeyValueInfo
Auto Trait Implementations§
impl RefUnwindSafe for KeyValueInfo
impl Send for KeyValueInfo
impl Sync for KeyValueInfo
impl Unpin for KeyValueInfo
impl UnwindSafe for KeyValueInfo
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.