#[non_exhaustive]pub struct BatchGetTokenBalanceErrorItem {
pub token_identifier: Option<TokenIdentifier>,
pub owner_identifier: Option<OwnerIdentifier>,
pub at_blockchain_instant: Option<BlockchainInstant>,
pub error_code: Option<String>,
pub error_message: Option<String>,
pub error_type: Option<ErrorType>,
}Expand description
Error generated from a failed BatchGetTokenBalance request.
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.token_identifier: Option<TokenIdentifier>The container for the identifier for the token including the unique token ID and its blockchain network.
Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
owner_identifier: Option<OwnerIdentifier>The container for the identifier of the owner.
at_blockchain_instant: Option<BlockchainInstant>The container for time.
error_code: Option<String>The error code associated with the error.
error_message: Option<String>The message associated with the error.
error_type: Option<ErrorType>The type of error.
Implementations§
source§impl BatchGetTokenBalanceErrorItem
impl BatchGetTokenBalanceErrorItem
sourcepub fn token_identifier(&self) -> Option<&TokenIdentifier>
pub fn token_identifier(&self) -> Option<&TokenIdentifier>
The container for the identifier for the token including the unique token ID and its blockchain network.
Only the native tokens BTC,ETH, and the ERC-20, ERC-721, and ERC 1155 token standards are supported.
sourcepub fn owner_identifier(&self) -> Option<&OwnerIdentifier>
pub fn owner_identifier(&self) -> Option<&OwnerIdentifier>
The container for the identifier of the owner.
sourcepub fn at_blockchain_instant(&self) -> Option<&BlockchainInstant>
pub fn at_blockchain_instant(&self) -> Option<&BlockchainInstant>
The container for time.
sourcepub fn error_code(&self) -> Option<&str>
pub fn error_code(&self) -> Option<&str>
The error code associated with the error.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
The message associated with the error.
sourcepub fn error_type(&self) -> Option<&ErrorType>
pub fn error_type(&self) -> Option<&ErrorType>
The type of error.
source§impl BatchGetTokenBalanceErrorItem
impl BatchGetTokenBalanceErrorItem
sourcepub fn builder() -> BatchGetTokenBalanceErrorItemBuilder
pub fn builder() -> BatchGetTokenBalanceErrorItemBuilder
Creates a new builder-style object to manufacture BatchGetTokenBalanceErrorItem.
Trait Implementations§
source§impl Clone for BatchGetTokenBalanceErrorItem
impl Clone for BatchGetTokenBalanceErrorItem
source§fn clone(&self) -> BatchGetTokenBalanceErrorItem
fn clone(&self) -> BatchGetTokenBalanceErrorItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for BatchGetTokenBalanceErrorItem
impl PartialEq for BatchGetTokenBalanceErrorItem
source§fn eq(&self, other: &BatchGetTokenBalanceErrorItem) -> bool
fn eq(&self, other: &BatchGetTokenBalanceErrorItem) -> bool
self and other values to be equal, and is used
by ==.