#[non_exhaustive]pub struct UpdateAssetOutputBuilder { /* private fields */ }Expand description
A builder for UpdateAssetOutput.
Implementations§
Source§impl UpdateAssetOutputBuilder
impl UpdateAssetOutputBuilder
Sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The unique identifier of the asset.
This field is required.Sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the asset.
Sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the asset.
Sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the asset.
Sourcepub fn updated_at(self, input: DateTime) -> Self
pub fn updated_at(self, input: DateTime) -> Self
The timestamp at which the asset was last updated.
Sourcepub fn set_updated_at(self, input: Option<DateTime>) -> Self
pub fn set_updated_at(self, input: Option<DateTime>) -> Self
The timestamp at which the asset was last updated.
Sourcepub fn get_updated_at(&self) -> &Option<DateTime>
pub fn get_updated_at(&self) -> &Option<DateTime>
The timestamp at which the asset was last updated.
Sourcepub fn build(self) -> Result<UpdateAssetOutput, BuildError>
pub fn build(self) -> Result<UpdateAssetOutput, BuildError>
Consumes the builder and constructs a UpdateAssetOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
Source§impl Clone for UpdateAssetOutputBuilder
impl Clone for UpdateAssetOutputBuilder
Source§fn clone(&self) -> UpdateAssetOutputBuilder
fn clone(&self) -> UpdateAssetOutputBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateAssetOutputBuilder
impl Debug for UpdateAssetOutputBuilder
Source§impl Default for UpdateAssetOutputBuilder
impl Default for UpdateAssetOutputBuilder
Source§fn default() -> UpdateAssetOutputBuilder
fn default() -> UpdateAssetOutputBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateAssetOutputBuilder
impl PartialEq for UpdateAssetOutputBuilder
impl StructuralPartialEq for UpdateAssetOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateAssetOutputBuilder
impl RefUnwindSafe for UpdateAssetOutputBuilder
impl Send for UpdateAssetOutputBuilder
impl Sync for UpdateAssetOutputBuilder
impl Unpin for UpdateAssetOutputBuilder
impl UnsafeUnpin for UpdateAssetOutputBuilder
impl UnwindSafe for UpdateAssetOutputBuilder
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.