pub struct AcquireLeaseBuilder { /* private fields */ }
Implementations§
source§impl AcquireLeaseBuilder
impl AcquireLeaseBuilder
Setters for the various options for this builder
pub fn if_modified_since<P: Into<IfModifiedSinceCondition>>(
self,
if_modified_since: P
) -> Self
pub fn lease_id<P: Into<LeaseId>>(self, lease_id: P) -> Self
pub fn proposed_lease_id<P: Into<ProposedLeaseId>>(
self,
proposed_lease_id: P
) -> Self
pub fn context<P: Into<Context>>(self, context: P) -> Self
source§impl AcquireLeaseBuilder
impl AcquireLeaseBuilder
pub fn into_future(self) -> AcquireLease
Trait Implementations§
source§impl Clone for AcquireLeaseBuilder
impl Clone for AcquireLeaseBuilder
source§fn clone(&self) -> AcquireLeaseBuilder
fn clone(&self) -> AcquireLeaseBuilder
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 AcquireLeaseBuilder
impl Debug for AcquireLeaseBuilder
source§impl IntoFuture for AcquireLeaseBuilder
impl IntoFuture for AcquireLeaseBuilder
§type IntoFuture = Pin<Box<dyn Future<Output = Result<AcquireLeaseResponse, Error>> + Send + 'static, Global>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<AcquireLeaseResponse, Error>> + Send + 'static, Global>>
Which kind of future are we turning this into?
§type Output = <Pin<Box<dyn Future<Output = Result<AcquireLeaseResponse, Error>> + Send + 'static, Global>> as Future>::Output
type Output = <Pin<Box<dyn Future<Output = Result<AcquireLeaseResponse, Error>> + Send + 'static, Global>> as Future>::Output
The output that the future will produce on completion.
source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more