#[non_exhaustive]pub struct GetMappingOutputBuilder { /* private fields */ }Expand description
A builder for GetMappingOutput.
Implementations§
source§impl GetMappingOutputBuilder
impl GetMappingOutputBuilder
sourcepub fn mapping(self, input: MappingEntry) -> Self
pub fn mapping(self, input: MappingEntry) -> Self
Appends an item to mapping.
To override the contents of this collection use set_mapping.
A list of mappings to the specified targets.
sourcepub fn set_mapping(self, input: Option<Vec<MappingEntry>>) -> Self
pub fn set_mapping(self, input: Option<Vec<MappingEntry>>) -> Self
A list of mappings to the specified targets.
sourcepub fn get_mapping(&self) -> &Option<Vec<MappingEntry>>
pub fn get_mapping(&self) -> &Option<Vec<MappingEntry>>
A list of mappings to the specified targets.
sourcepub fn build(self) -> Result<GetMappingOutput, BuildError>
pub fn build(self) -> Result<GetMappingOutput, BuildError>
Consumes the builder and constructs a GetMappingOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetMappingOutputBuilder
impl Clone for GetMappingOutputBuilder
source§fn clone(&self) -> GetMappingOutputBuilder
fn clone(&self) -> GetMappingOutputBuilder
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 GetMappingOutputBuilder
impl Debug for GetMappingOutputBuilder
source§impl Default for GetMappingOutputBuilder
impl Default for GetMappingOutputBuilder
source§fn default() -> GetMappingOutputBuilder
fn default() -> GetMappingOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetMappingOutputBuilder
impl PartialEq for GetMappingOutputBuilder
source§fn eq(&self, other: &GetMappingOutputBuilder) -> bool
fn eq(&self, other: &GetMappingOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetMappingOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetMappingOutputBuilder
impl Send for GetMappingOutputBuilder
impl Sync for GetMappingOutputBuilder
impl Unpin for GetMappingOutputBuilder
impl UnwindSafe for GetMappingOutputBuilder
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.