Struct etcd::Node [] [src]

pub struct Node {
    pub created_index: Option<u64>,
    pub dir: Option<bool>,
    pub expiration: Option<String>,
    pub key: Option<String>,
    pub modified_index: Option<u64>,
    pub nodes: Option<Vec<Node>>,
    pub ttl: Option<i64>,
    pub value: Option<String>,
}

An etcd key-value pair or directory.

Fields

created_index

The new value of the etcd creation index.

dir

Whether or not the node is a directory.

expiration

An ISO 8601 timestamp for when the key will expire.

key

The name of the key.

modified_index

The new value of the etcd modification index.

nodes

Child nodes of a directory.

ttl

The key's time to live in seconds.

value

The value of the key.

Trait Implementations

impl Deserialize for Node

fn deserialize<__D>(deserializer: &mut __D) -> Result<Node, __D::Error> where __D: Deserializer

Derived Implementations

impl Debug for Node

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Node

fn clone(&self) -> Node

1.0.0fn clone_from(&mut self, source: &Self)