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.
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.
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<ListTokenBalancesInput> for ListTokenBalancesInput
impl PartialEq<ListTokenBalancesInput> 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 ==
.