Struct aws_sdk_managedblockchainquery::operation::list_token_balances::ListTokenBalancesInput
source · #[non_exhaustive]pub struct ListTokenBalancesInput {
pub owner_filter: Option<OwnerFilter>,
pub token_filter: Option<TokenFilter>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.owner_filter: Option<OwnerFilter>
The contract or wallet address on the blockchain network by which to filter the request. You must specify the address
property of the ownerFilter
when listing balances of tokens owned by the address.
token_filter: Option<TokenFilter>
The contract address or a token identifier on the blockchain network by which to filter the request. You must specify the contractAddress
property of this container when listing tokens minted by a contract.
You must always specify the network property of this container when using this operation.
next_token: Option<String>
The pagination token that indicates the next set of results to retrieve.
max_results: Option<i32>
The maximum number of token balances to return.
Default: 100
Even if additional results can be retrieved, the request can return less results than maxResults
or an empty array of results.
To retrieve the next set of results, make another request with the returned nextToken
value. The value of nextToken
is null
when there are no more results to return
Implementations§
source§impl ListTokenBalancesInput
impl ListTokenBalancesInput
sourcepub fn owner_filter(&self) -> Option<&OwnerFilter>
pub fn owner_filter(&self) -> Option<&OwnerFilter>
The contract or wallet address on the blockchain network by which to filter the request. You must specify the address
property of the ownerFilter
when listing balances of tokens owned by the address.
sourcepub fn token_filter(&self) -> Option<&TokenFilter>
pub fn token_filter(&self) -> Option<&TokenFilter>
The contract address or a token identifier on the blockchain network by which to filter the request. You must specify the contractAddress
property of this container when listing tokens minted by a contract.
You must always specify the network property of this container when using this operation.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The pagination token that indicates the next set of results to retrieve.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of token balances to return.
Default: 100
Even if additional results can be retrieved, the request can return less results than maxResults
or an empty array of results.
To retrieve the next set of results, make another request with the returned nextToken
value. The value of nextToken
is null
when there are no more results to return
source§impl ListTokenBalancesInput
impl ListTokenBalancesInput
sourcepub fn builder() -> ListTokenBalancesInputBuilder
pub fn builder() -> ListTokenBalancesInputBuilder
Creates a new builder-style object to manufacture ListTokenBalancesInput
.
Trait Implementations§
source§impl Clone for ListTokenBalancesInput
impl Clone for ListTokenBalancesInput
source§fn clone(&self) -> ListTokenBalancesInput
fn clone(&self) -> ListTokenBalancesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListTokenBalancesInput
impl Debug for ListTokenBalancesInput
source§impl PartialEq for ListTokenBalancesInput
impl PartialEq for ListTokenBalancesInput
source§fn eq(&self, other: &ListTokenBalancesInput) -> bool
fn eq(&self, other: &ListTokenBalancesInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListTokenBalancesInput
Auto Trait Implementations§
impl Freeze for ListTokenBalancesInput
impl RefUnwindSafe for ListTokenBalancesInput
impl Send for ListTokenBalancesInput
impl Sync for ListTokenBalancesInput
impl Unpin for ListTokenBalancesInput
impl UnwindSafe for ListTokenBalancesInput
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