Struct aws_sdk_managedblockchainquery::operation::batch_get_token_balance::builders::BatchGetTokenBalanceOutputBuilder
source · #[non_exhaustive]pub struct BatchGetTokenBalanceOutputBuilder { /* private fields */ }
Expand description
A builder for BatchGetTokenBalanceOutput
.
Implementations§
source§impl BatchGetTokenBalanceOutputBuilder
impl BatchGetTokenBalanceOutputBuilder
sourcepub fn token_balances(self, input: BatchGetTokenBalanceOutputItem) -> Self
pub fn token_balances(self, input: BatchGetTokenBalanceOutputItem) -> Self
Appends an item to token_balances
.
To override the contents of this collection use set_token_balances
.
An array of BatchGetTokenBalanceOutputItem
objects returned by the response.
sourcepub fn set_token_balances(
self,
input: Option<Vec<BatchGetTokenBalanceOutputItem>>,
) -> Self
pub fn set_token_balances( self, input: Option<Vec<BatchGetTokenBalanceOutputItem>>, ) -> Self
An array of BatchGetTokenBalanceOutputItem
objects returned by the response.
sourcepub fn get_token_balances(&self) -> &Option<Vec<BatchGetTokenBalanceOutputItem>>
pub fn get_token_balances(&self) -> &Option<Vec<BatchGetTokenBalanceOutputItem>>
An array of BatchGetTokenBalanceOutputItem
objects returned by the response.
sourcepub fn errors(self, input: BatchGetTokenBalanceErrorItem) -> Self
pub fn errors(self, input: BatchGetTokenBalanceErrorItem) -> Self
Appends an item to errors
.
To override the contents of this collection use set_errors
.
An array of BatchGetTokenBalanceErrorItem
objects returned from the request.
sourcepub fn set_errors(
self,
input: Option<Vec<BatchGetTokenBalanceErrorItem>>,
) -> Self
pub fn set_errors( self, input: Option<Vec<BatchGetTokenBalanceErrorItem>>, ) -> Self
An array of BatchGetTokenBalanceErrorItem
objects returned from the request.
sourcepub fn get_errors(&self) -> &Option<Vec<BatchGetTokenBalanceErrorItem>>
pub fn get_errors(&self) -> &Option<Vec<BatchGetTokenBalanceErrorItem>>
An array of BatchGetTokenBalanceErrorItem
objects returned from the request.
sourcepub fn build(self) -> Result<BatchGetTokenBalanceOutput, BuildError>
pub fn build(self) -> Result<BatchGetTokenBalanceOutput, BuildError>
Consumes the builder and constructs a BatchGetTokenBalanceOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for BatchGetTokenBalanceOutputBuilder
impl Clone for BatchGetTokenBalanceOutputBuilder
source§fn clone(&self) -> BatchGetTokenBalanceOutputBuilder
fn clone(&self) -> BatchGetTokenBalanceOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for BatchGetTokenBalanceOutputBuilder
impl Default for BatchGetTokenBalanceOutputBuilder
source§fn default() -> BatchGetTokenBalanceOutputBuilder
fn default() -> BatchGetTokenBalanceOutputBuilder
source§impl PartialEq for BatchGetTokenBalanceOutputBuilder
impl PartialEq for BatchGetTokenBalanceOutputBuilder
source§fn eq(&self, other: &BatchGetTokenBalanceOutputBuilder) -> bool
fn eq(&self, other: &BatchGetTokenBalanceOutputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for BatchGetTokenBalanceOutputBuilder
Auto Trait Implementations§
impl Freeze for BatchGetTokenBalanceOutputBuilder
impl RefUnwindSafe for BatchGetTokenBalanceOutputBuilder
impl Send for BatchGetTokenBalanceOutputBuilder
impl Sync for BatchGetTokenBalanceOutputBuilder
impl Unpin for BatchGetTokenBalanceOutputBuilder
impl UnwindSafe for BatchGetTokenBalanceOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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 more