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, Global>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<AcquireLeaseResponse, Error>> + Send, Global>>
Which kind of future are we turning this into?
§type Output = <Pin<Box<dyn Future<Output = Result<AcquireLeaseResponse, Error>> + Send, Global>> as Future>::Output
type Output = <Pin<Box<dyn Future<Output = Result<AcquireLeaseResponse, Error>> + Send, 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
Auto Trait Implementations§
impl !RefUnwindSafe for AcquireLeaseBuilder
impl Send for AcquireLeaseBuilder
impl Sync for AcquireLeaseBuilder
impl Unpin for AcquireLeaseBuilder
impl !UnwindSafe for AcquireLeaseBuilder
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