pub struct AcquireLeaseBuilder { /* private fields */ }
Implementations§
source§impl AcquireLeaseBuilder
impl AcquireLeaseBuilder
Setters for the various options for this builder
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 if_modified_since<P: Into<IfModifiedSinceCondition>>( self, if_modified_since: P, ) -> Self
pub fn if_match<P: Into<IfMatchCondition>>(self, if_match: 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
source§type IntoFuture = Pin<Box<dyn Future<Output = Result<AcquireLeaseResponse, Error>> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<AcquireLeaseResponse, Error>> + Send>>
Which kind of future are we turning this into?
source§type Output = <Pin<Box<dyn Future<Output = Result<AcquireLeaseResponse, Error>> + Send>> as Future>::Output
type Output = <Pin<Box<dyn Future<Output = Result<AcquireLeaseResponse, Error>> + Send>> 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 Freeze for AcquireLeaseBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)