pub struct SetMetadataBuilder { /* private fields */ }
Implementations§
source§impl SetMetadataBuilder
impl SetMetadataBuilder
Setters for the various options for this builder
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 lease_id<P: Into<LeaseId>>(self, lease_id: P) -> Self
pub fn metadata<P: Into<Metadata>>(self, metadata: P) -> Self
pub fn context<P: Into<Context>>(self, context: P) -> Self
source§impl SetMetadataBuilder
impl SetMetadataBuilder
pub fn into_future(self) -> SetMetadata
Trait Implementations§
source§impl Clone for SetMetadataBuilder
impl Clone for SetMetadataBuilder
source§fn clone(&self) -> SetMetadataBuilder
fn clone(&self) -> SetMetadataBuilder
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 SetMetadataBuilder
impl Debug for SetMetadataBuilder
source§impl IntoFuture for SetMetadataBuilder
impl IntoFuture for SetMetadataBuilder
source§type IntoFuture = Pin<Box<dyn Future<Output = Result<SetMetadataResponse, Error>> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<SetMetadataResponse, Error>> + Send>>
Which kind of future are we turning this into?
source§type Output = <Pin<Box<dyn Future<Output = Result<SetMetadataResponse, Error>> + Send>> as Future>::Output
type Output = <Pin<Box<dyn Future<Output = Result<SetMetadataResponse, 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 SetMetadataBuilder
impl !RefUnwindSafe for SetMetadataBuilder
impl Send for SetMetadataBuilder
impl Sync for SetMetadataBuilder
impl Unpin for SetMetadataBuilder
impl !UnwindSafe for SetMetadataBuilder
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
)