pub struct AddressContentExtendedAmountInner {
pub unit: String,
pub quantity: String,
pub decimals: Option<i32>,
pub has_nft_onchain_metadata: bool,
}Expand description
AddressContentExtendedAmountInner : The sum of all the UTXO per asset
Fields§
§unit: StringThe unit of the value
quantity: StringThe quantity of the unit
decimals: Option<i32>Number of decimal places of the asset unit. Primary data source is CIP68 reference NFT with a fallback to off-chain metadata.
has_nft_onchain_metadata: boolTrue if the latest minting transaction includes metadata (best-effort)
Implementations§
Trait Implementations§
Source§impl Clone for AddressContentExtendedAmountInner
impl Clone for AddressContentExtendedAmountInner
Source§fn clone(&self) -> AddressContentExtendedAmountInner
fn clone(&self) -> AddressContentExtendedAmountInner
Returns a duplicate 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 AddressContentExtendedAmountInner
impl Default for AddressContentExtendedAmountInner
Source§fn default() -> AddressContentExtendedAmountInner
fn default() -> AddressContentExtendedAmountInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AddressContentExtendedAmountInner
impl<'de> Deserialize<'de> for AddressContentExtendedAmountInner
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AddressContentExtendedAmountInner
impl PartialEq for AddressContentExtendedAmountInner
Source§fn eq(&self, other: &AddressContentExtendedAmountInner) -> bool
fn eq(&self, other: &AddressContentExtendedAmountInner) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AddressContentExtendedAmountInner
Auto Trait Implementations§
impl Freeze for AddressContentExtendedAmountInner
impl RefUnwindSafe for AddressContentExtendedAmountInner
impl Send for AddressContentExtendedAmountInner
impl Sync for AddressContentExtendedAmountInner
impl Unpin for AddressContentExtendedAmountInner
impl UnwindSafe for AddressContentExtendedAmountInner
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