Struct etcd::kv::Node
[−]
[src]
pub struct Node { pub created_index: u64, pub dir: Option<bool>, pub expiration: Option<String>, pub key: Option<String>, pub modified_index: u64, pub nodes: Option<Vec<Node>>, pub ttl: Option<i64>, pub value: Option<String>, }
An etcd key or directory.
Fields
created_index: u64
The new value of the etcd creation index.
dir: Option<bool>
Whether or not the node is a directory.
expiration: Option<String>
An ISO 8601 timestamp for when the key will expire.
key: Option<String>
The name of the key.
modified_index: u64
The new value of the etcd modification index.
nodes: Option<Vec<Node>>
Child nodes of a directory.
ttl: Option<i64>
The key's time to live in seconds.
value: Option<String>
The value of the key.
Trait Implementations
impl Clone for Node
[src]
fn clone(&self) -> Node
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 Node
[src]
impl Eq for Node
[src]
impl Hash for Node
[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