[][src]Struct etcdv3client::pb::LeaseTimeToLiveResponse

pub struct LeaseTimeToLiveResponse {
    pub header: Option<ResponseHeader>,
    pub id: i64,
    pub ttl: i64,
    pub granted_ttl: i64,
    pub keys: Vec<Vec<u8>>,
}

Fields

header: Option<ResponseHeader>id: i64

ID is the lease ID from the keep alive request.

ttl: i64

TTL is the remaining TTL in seconds for the lease; the lease will expire in under TTL+1 seconds.

granted_ttl: i64

GrantedTTL is the initial granted time in seconds upon lease creation/renewal.

keys: Vec<Vec<u8>>

Keys is the list of keys attached to this lease.

Trait Implementations

impl Clone for LeaseTimeToLiveResponse[src]

impl Default for LeaseTimeToLiveResponse[src]

impl PartialEq<LeaseTimeToLiveResponse> for LeaseTimeToLiveResponse[src]

impl Debug for LeaseTimeToLiveResponse[src]

impl StructuralPartialEq for LeaseTimeToLiveResponse[src]

impl Message for LeaseTimeToLiveResponse[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> IntoRequest<T> for T[src]