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) -> BatchGetTokenBalanceOutput
pub fn build(self) -> BatchGetTokenBalanceOutput
Consumes the builder and constructs a BatchGetTokenBalanceOutput
.
Trait Implementations§
source§impl Clone for BatchGetTokenBalanceOutputBuilder
impl Clone for BatchGetTokenBalanceOutputBuilder
source§fn clone(&self) -> BatchGetTokenBalanceOutputBuilder
fn clone(&self) -> BatchGetTokenBalanceOutputBuilder
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 Default for BatchGetTokenBalanceOutputBuilder
impl Default for BatchGetTokenBalanceOutputBuilder
source§fn default() -> BatchGetTokenBalanceOutputBuilder
fn default() -> BatchGetTokenBalanceOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<BatchGetTokenBalanceOutputBuilder> for BatchGetTokenBalanceOutputBuilder
impl PartialEq<BatchGetTokenBalanceOutputBuilder> for BatchGetTokenBalanceOutputBuilder
source§fn eq(&self, other: &BatchGetTokenBalanceOutputBuilder) -> bool
fn eq(&self, other: &BatchGetTokenBalanceOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchGetTokenBalanceOutputBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more