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
cluster_info: ClusterInfo
Information about the state of the cluster.
data: T
The primary data of the response.
Trait Implementations
impl<T: Clone> Clone for Response<T>
[src]
fn clone(&self) -> Response<T>
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