Struct etcd::Response [] [src]

pub struct Response<T> {
    pub cluster_info: ClusterInfo,
    pub data: T,
}

A wrapper type returned by all API calls.

Contains the primary data of the response along with information about the cluster extracted from the HTTP response headers.

Fields

Information about the state of the cluster.

The primary data of the response.

Trait Implementations

impl<T: Clone> Clone for Response<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for Response<T>
[src]

Formats the value using the given formatter.