Struct etcd::kv::KeyValueInfo
[−]
[src]
pub struct KeyValueInfo { pub action: Action, pub node: Node, pub prev_node: Option<Node>, }
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
impl Clone for KeyValueInfo
[src]
fn clone(&self) -> KeyValueInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for KeyValueInfo
[src]
impl Eq for KeyValueInfo
[src]
impl Hash for KeyValueInfo
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl PartialEq for KeyValueInfo
[src]
fn eq(&self, __arg_0: &KeyValueInfo) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &KeyValueInfo) -> bool
This method tests for !=
.