Struct aws_sdk_connectcases::operation::batch_get_field::builders::BatchGetFieldOutputBuilder
source · #[non_exhaustive]pub struct BatchGetFieldOutputBuilder { /* private fields */ }Expand description
A builder for BatchGetFieldOutput.
Implementations§
source§impl BatchGetFieldOutputBuilder
impl BatchGetFieldOutputBuilder
sourcepub fn fields(self, input: GetFieldResponse) -> Self
pub fn fields(self, input: GetFieldResponse) -> Self
Appends an item to fields.
To override the contents of this collection use set_fields.
A list of detailed field information.
sourcepub fn set_fields(self, input: Option<Vec<GetFieldResponse>>) -> Self
pub fn set_fields(self, input: Option<Vec<GetFieldResponse>>) -> Self
A list of detailed field information.
sourcepub fn get_fields(&self) -> &Option<Vec<GetFieldResponse>>
pub fn get_fields(&self) -> &Option<Vec<GetFieldResponse>>
A list of detailed field information.
sourcepub fn errors(self, input: FieldError) -> Self
pub fn errors(self, input: FieldError) -> Self
Appends an item to errors.
To override the contents of this collection use set_errors.
A list of field errors.
sourcepub fn set_errors(self, input: Option<Vec<FieldError>>) -> Self
pub fn set_errors(self, input: Option<Vec<FieldError>>) -> Self
A list of field errors.
sourcepub fn get_errors(&self) -> &Option<Vec<FieldError>>
pub fn get_errors(&self) -> &Option<Vec<FieldError>>
A list of field errors.
sourcepub fn build(self) -> Result<BatchGetFieldOutput, BuildError>
pub fn build(self) -> Result<BatchGetFieldOutput, BuildError>
Consumes the builder and constructs a BatchGetFieldOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for BatchGetFieldOutputBuilder
impl Clone for BatchGetFieldOutputBuilder
source§fn clone(&self) -> BatchGetFieldOutputBuilder
fn clone(&self) -> BatchGetFieldOutputBuilder
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 BatchGetFieldOutputBuilder
impl Debug for BatchGetFieldOutputBuilder
source§impl Default for BatchGetFieldOutputBuilder
impl Default for BatchGetFieldOutputBuilder
source§fn default() -> BatchGetFieldOutputBuilder
fn default() -> BatchGetFieldOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BatchGetFieldOutputBuilder
impl PartialEq for BatchGetFieldOutputBuilder
source§fn eq(&self, other: &BatchGetFieldOutputBuilder) -> bool
fn eq(&self, other: &BatchGetFieldOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BatchGetFieldOutputBuilder
Auto Trait Implementations§
impl Freeze for BatchGetFieldOutputBuilder
impl RefUnwindSafe for BatchGetFieldOutputBuilder
impl Send for BatchGetFieldOutputBuilder
impl Sync for BatchGetFieldOutputBuilder
impl Unpin for BatchGetFieldOutputBuilder
impl UnwindSafe for BatchGetFieldOutputBuilder
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>
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.