#[non_exhaustive]pub struct UpdateUsageMetadataInputBuilder { /* private fields */ }
Expand description
A builder for UpdateUsageMetadataInput
.
Implementations§
Source§impl UpdateUsageMetadataInputBuilder
impl UpdateUsageMetadataInputBuilder
pub fn bytes_used(self, input: impl Into<i32>) -> Self
pub fn set_bytes_used(self, input: Option<i32>) -> Self
pub fn get_bytes_used(&self) -> &Option<i32>
pub fn identifier(self, input: impl Into<Blob>) -> Self
pub fn set_identifier(self, input: Option<Blob>) -> Self
pub fn get_identifier(&self) -> &Option<Blob>
Sourcepub fn build(self) -> Result<UpdateUsageMetadataInput, BuildError>
pub fn build(self) -> Result<UpdateUsageMetadataInput, BuildError>
Consumes the builder and constructs a UpdateUsageMetadataInput
.
Trait Implementations§
Source§impl Clone for UpdateUsageMetadataInputBuilder
impl Clone for UpdateUsageMetadataInputBuilder
Source§fn clone(&self) -> UpdateUsageMetadataInputBuilder
fn clone(&self) -> UpdateUsageMetadataInputBuilder
Returns a duplicate 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 Default for UpdateUsageMetadataInputBuilder
impl Default for UpdateUsageMetadataInputBuilder
Source§fn default() -> UpdateUsageMetadataInputBuilder
fn default() -> UpdateUsageMetadataInputBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateUsageMetadataInputBuilder
impl PartialEq for UpdateUsageMetadataInputBuilder
Source§fn eq(&self, other: &UpdateUsageMetadataInputBuilder) -> bool
fn eq(&self, other: &UpdateUsageMetadataInputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateUsageMetadataInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateUsageMetadataInputBuilder
impl RefUnwindSafe for UpdateUsageMetadataInputBuilder
impl Send for UpdateUsageMetadataInputBuilder
impl Sync for UpdateUsageMetadataInputBuilder
impl Unpin for UpdateUsageMetadataInputBuilder
impl UnwindSafe for UpdateUsageMetadataInputBuilder
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§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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.