pub struct FungibleAssetMetadata {
pub name: String,
pub symbol: String,
pub decimals: u8,
}Available on crate feature
indexer only.Expand description
Fungible asset metadata from the indexer.
Fields§
§name: StringAsset name.
symbol: StringAsset symbol.
decimals: u8Number of decimals.
Trait Implementations§
Source§impl Clone for FungibleAssetMetadata
impl Clone for FungibleAssetMetadata
Source§fn clone(&self) -> FungibleAssetMetadata
fn clone(&self) -> FungibleAssetMetadata
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 FungibleAssetMetadata
impl Debug for FungibleAssetMetadata
Source§impl<'de> Deserialize<'de> for FungibleAssetMetadata
impl<'de> Deserialize<'de> for FungibleAssetMetadata
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
Auto Trait Implementations§
impl Freeze for FungibleAssetMetadata
impl RefUnwindSafe for FungibleAssetMetadata
impl Send for FungibleAssetMetadata
impl Sync for FungibleAssetMetadata
impl Unpin for FungibleAssetMetadata
impl UnwindSafe for FungibleAssetMetadata
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