pub struct LeaseTimeToLiveOptions(/* private fields */);
Expand description
Options for TimeToLive
operation.
Implementations§
source§impl LeaseTimeToLiveOptions
impl LeaseTimeToLiveOptions
sourcepub const fn with_keys(self) -> LeaseTimeToLiveOptions
pub const fn with_keys(self) -> LeaseTimeToLiveOptions
Keys is true to query all the keys attached to this lease.
sourcepub const fn new() -> LeaseTimeToLiveOptions
pub const fn new() -> LeaseTimeToLiveOptions
Creates a LeaseTimeToLiveOptions
.
Trait Implementations§
source§impl Clone for LeaseTimeToLiveOptions
impl Clone for LeaseTimeToLiveOptions
source§fn clone(&self) -> LeaseTimeToLiveOptions
fn clone(&self) -> LeaseTimeToLiveOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LeaseTimeToLiveOptions
impl Debug for LeaseTimeToLiveOptions
source§impl Default for LeaseTimeToLiveOptions
impl Default for LeaseTimeToLiveOptions
source§fn default() -> LeaseTimeToLiveOptions
fn default() -> LeaseTimeToLiveOptions
Returns the “default value” for a type. Read more
source§impl IntoRequest<LeaseTimeToLiveRequest> for LeaseTimeToLiveOptions
impl IntoRequest<LeaseTimeToLiveRequest> for LeaseTimeToLiveOptions
source§fn into_request(self) -> Request<LeaseTimeToLiveRequest>
fn into_request(self) -> Request<LeaseTimeToLiveRequest>
Wrap the input message
T
in a tonic::Request
Auto Trait Implementations§
impl Freeze for LeaseTimeToLiveOptions
impl RefUnwindSafe for LeaseTimeToLiveOptions
impl Send for LeaseTimeToLiveOptions
impl Sync for LeaseTimeToLiveOptions
impl Unpin for LeaseTimeToLiveOptions
impl UnwindSafe for LeaseTimeToLiveOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request