#[non_exhaustive]pub struct ListTransactionsInput {
pub address: Option<String>,
pub network: Option<QueryNetwork>,
pub from_blockchain_instant: Option<BlockchainInstant>,
pub to_blockchain_instant: Option<BlockchainInstant>,
pub sort: Option<ListTransactionsSort>,
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.address: Option<String>
The address (either a contract or wallet), whose transactions are being requested.
network: Option<QueryNetwork>
The blockchain network where the transactions occurred.
from_blockchain_instant: Option<BlockchainInstant>
The container for time.
to_blockchain_instant: Option<BlockchainInstant>
The container for time.
sort: Option<ListTransactionsSort>
Sorts items in an ascending order if the first page starts at fromTime
. Sorts items in a descending order if the first page starts at toTime
.
next_token: Option<String>
The pagination token that indicates the next set of results to retrieve.
max_results: Option<i32>
The maximum number of transactions to list.
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 ListTransactionsInput
impl ListTransactionsInput
sourcepub fn address(&self) -> Option<&str>
pub fn address(&self) -> Option<&str>
The address (either a contract or wallet), whose transactions are being requested.
sourcepub fn network(&self) -> Option<&QueryNetwork>
pub fn network(&self) -> Option<&QueryNetwork>
The blockchain network where the transactions occurred.
sourcepub fn from_blockchain_instant(&self) -> Option<&BlockchainInstant>
pub fn from_blockchain_instant(&self) -> Option<&BlockchainInstant>
The container for time.
sourcepub fn to_blockchain_instant(&self) -> Option<&BlockchainInstant>
pub fn to_blockchain_instant(&self) -> Option<&BlockchainInstant>
The container for time.
sourcepub fn sort(&self) -> Option<&ListTransactionsSort>
pub fn sort(&self) -> Option<&ListTransactionsSort>
Sorts items in an ascending order if the first page starts at fromTime
. Sorts items in a descending order if the first page starts at toTime
.
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 transactions to list.
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 ListTransactionsInput
impl ListTransactionsInput
sourcepub fn builder() -> ListTransactionsInputBuilder
pub fn builder() -> ListTransactionsInputBuilder
Creates a new builder-style object to manufacture ListTransactionsInput
.
Trait Implementations§
source§impl Clone for ListTransactionsInput
impl Clone for ListTransactionsInput
source§fn clone(&self) -> ListTransactionsInput
fn clone(&self) -> ListTransactionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListTransactionsInput
impl Debug for ListTransactionsInput
source§impl PartialEq<ListTransactionsInput> for ListTransactionsInput
impl PartialEq<ListTransactionsInput> for ListTransactionsInput
source§fn eq(&self, other: &ListTransactionsInput) -> bool
fn eq(&self, other: &ListTransactionsInput) -> bool
self
and other
values to be equal, and is used
by ==
.