pub struct RetrieveAssetInfoResult {
pub asset_id: String,
pub name: String,
pub description: String,
pub is_non_fungible: bool,
pub can_reissue: bool,
pub decimal_places: u8,
pub issuer: DeviceInfo,
pub total_existent_balance: f64,
}
Expand description
Data returned from a successful call to Retrieve Asset Info API method.
Fields§
§asset_id: String
The asset ID.
name: String
The asset name.
description: String
Description about the asset.
is_non_fungible: bool
Indicates whether this is a non-fungible asset.
can_reissue: bool
Indicates whether more units of this asset can be issued.
decimal_places: u8
The maximum number of decimal places that can be used to specify a fractional amount of this asset.
issuer: DeviceInfo
The virtual device that originally issued this asset.
total_existent_balance: f64
Current total balance of the asset in existence.
Trait Implementations§
Source§impl Clone for RetrieveAssetInfoResult
impl Clone for RetrieveAssetInfoResult
Source§fn clone(&self) -> RetrieveAssetInfoResult
fn clone(&self) -> RetrieveAssetInfoResult
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 Debug for RetrieveAssetInfoResult
impl Debug for RetrieveAssetInfoResult
Source§impl<'de> Deserialize<'de> for RetrieveAssetInfoResult
impl<'de> Deserialize<'de> for RetrieveAssetInfoResult
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 RetrieveAssetInfoResult
impl PartialEq for RetrieveAssetInfoResult
impl StructuralPartialEq for RetrieveAssetInfoResult
Auto Trait Implementations§
impl Freeze for RetrieveAssetInfoResult
impl RefUnwindSafe for RetrieveAssetInfoResult
impl Send for RetrieveAssetInfoResult
impl Sync for RetrieveAssetInfoResult
impl Unpin for RetrieveAssetInfoResult
impl UnwindSafe for RetrieveAssetInfoResult
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