#[non_exhaustive]pub struct GetContentOutputBuilder { /* private fields */ }Expand description
A builder for GetContentOutput.
Implementations§
source§impl GetContentOutputBuilder
impl GetContentOutputBuilder
sourcepub fn content(self, input: ContentData) -> Self
pub fn content(self, input: ContentData) -> Self
The content.
sourcepub fn set_content(self, input: Option<ContentData>) -> Self
pub fn set_content(self, input: Option<ContentData>) -> Self
The content.
sourcepub fn get_content(&self) -> &Option<ContentData>
pub fn get_content(&self) -> &Option<ContentData>
The content.
sourcepub fn build(self) -> GetContentOutput
pub fn build(self) -> GetContentOutput
Consumes the builder and constructs a GetContentOutput.
Trait Implementations§
source§impl Clone for GetContentOutputBuilder
impl Clone for GetContentOutputBuilder
source§fn clone(&self) -> GetContentOutputBuilder
fn clone(&self) -> GetContentOutputBuilder
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 GetContentOutputBuilder
impl Debug for GetContentOutputBuilder
source§impl Default for GetContentOutputBuilder
impl Default for GetContentOutputBuilder
source§fn default() -> GetContentOutputBuilder
fn default() -> GetContentOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetContentOutputBuilder
impl PartialEq for GetContentOutputBuilder
source§fn eq(&self, other: &GetContentOutputBuilder) -> bool
fn eq(&self, other: &GetContentOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetContentOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetContentOutputBuilder
impl Send for GetContentOutputBuilder
impl Sync for GetContentOutputBuilder
impl Unpin for GetContentOutputBuilder
impl UnwindSafe for GetContentOutputBuilder
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.