Struct etcd_client::GetResponse [−][src]
#[repr(transparent)]pub struct GetResponse(_);
Response for Get operation.
Implementations
impl GetResponse[src]
impl GetResponse[src]pub fn header(&self) -> Option<&ResponseHeader>[src]
Get response header.
pub fn take_header(&mut self) -> Option<ResponseHeader>[src]
Takes the header out of the response, leaving a None in its place.
pub fn kvs(&self) -> &[KeyValue][src]
The list of key-value pairs matched by the Get request.
kvs is empty when count is requested.
pub const fn more(&self) -> bool[src]
Indicates if there are more keys to return in the requested range.
pub const fn count(&self) -> i64[src]
The number of keys within the range when requested.
Trait Implementations
impl Clone for GetResponse[src]
impl Clone for GetResponse[src]fn clone(&self) -> GetResponse[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for GetResponse
impl RefUnwindSafe for GetResponseimpl Send for GetResponse
impl Send for GetResponseimpl Sync for GetResponse
impl Sync for GetResponseimpl Unpin for GetResponse
impl Unpin for GetResponseimpl UnwindSafe for GetResponse
impl UnwindSafe for GetResponseBlanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> IntoRequest<T> for T[src]
impl<T> IntoRequest<T> for T[src]pub fn into_request(self) -> Request<T>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>, pub fn vzip(self) -> V
impl<T> WithSubscriber for T[src]
impl<T> WithSubscriber for T[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>, [src]
S: Into<Dispatch>,