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

The new value of the etcd creation index.

Whether or not the node is a directory.

An ISO 8601 timestamp for when the key will expire.

The name of the key.

The new value of the etcd modification index.

Child nodes of a directory.

The key's time to live in seconds.

The value of the key.

Trait Implementations

impl Clone for Node
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Node
[src]

Formats the value using the given formatter.

impl Eq for Node
[src]

impl Hash for Node
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for Node
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.