Struct etcd::ClusterInfo [] [src]

pub struct ClusterInfo {
    pub cluster_id: Option<String>,
    pub etcd_index: Option<u64>,
    pub raft_index: Option<u64>,
    pub raft_term: Option<u64>,
}

Information about the state of the etcd cluster from an API response's HTTP headers.

Fields

An internal identifier for the cluster.

A unique, monotonically-incrementing integer created for each change to etcd.

A unique, monotonically-incrementing integer used by the Raft protocol.

The current Raft election term.

Trait Implementations

impl Clone for ClusterInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ClusterInfo
[src]

Formats the value using the given formatter.

impl Eq for ClusterInfo
[src]

impl Hash for ClusterInfo
[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 ClusterInfo
[src]

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

This method tests for !=.

impl<'a> From<&'a Headers> for ClusterInfo
[src]

Performs the conversion.