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) -> BatchGetFieldOutput
pub fn build(self) -> BatchGetFieldOutput
Consumes the builder and constructs a BatchGetFieldOutput
.
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 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