#[non_exhaustive]pub struct GetBlobOutputBuilder { /* private fields */ }
Expand description
A builder for GetBlobOutput
.
Implementations§
source§impl GetBlobOutputBuilder
impl GetBlobOutputBuilder
sourcepub fn content(self, input: Blob) -> Self
pub fn content(self, input: Blob) -> Self
The content of the blob, usually a file.
This field is required.sourcepub fn set_content(self, input: Option<Blob>) -> Self
pub fn set_content(self, input: Option<Blob>) -> Self
The content of the blob, usually a file.
sourcepub fn get_content(&self) -> &Option<Blob>
pub fn get_content(&self) -> &Option<Blob>
The content of the blob, usually a file.
sourcepub fn build(self) -> Result<GetBlobOutput, BuildError>
pub fn build(self) -> Result<GetBlobOutput, BuildError>
Consumes the builder and constructs a GetBlobOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetBlobOutputBuilder
impl Clone for GetBlobOutputBuilder
source§fn clone(&self) -> GetBlobOutputBuilder
fn clone(&self) -> GetBlobOutputBuilder
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 GetBlobOutputBuilder
impl Debug for GetBlobOutputBuilder
source§impl Default for GetBlobOutputBuilder
impl Default for GetBlobOutputBuilder
source§fn default() -> GetBlobOutputBuilder
fn default() -> GetBlobOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetBlobOutputBuilder
impl PartialEq for GetBlobOutputBuilder
source§fn eq(&self, other: &GetBlobOutputBuilder) -> bool
fn eq(&self, other: &GetBlobOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetBlobOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetBlobOutputBuilder
impl Send for GetBlobOutputBuilder
impl Sync for GetBlobOutputBuilder
impl Unpin for GetBlobOutputBuilder
impl UnwindSafe for GetBlobOutputBuilder
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> 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>
Creates a shared type from an unshared type.