pub struct Asset {
pub id: String,
pub legacy_id: String,
pub blockchain_id: Option<String>,
pub display_name: String,
pub display_symbol: String,
pub asset_class: AssetClass,
pub onchain: Option<AssetDetailsOnchain>,
pub metadata: AssetDetailsMetadata,
}Fields§
§id: StringThe ID of the asset
legacy_id: StringThe Legacy ID of the asset
blockchain_id: Option<String>The ID of the asset’s blockchain
display_name: StringAsset’s display name
display_symbol: StringAsset’s display symbol
asset_class: AssetClass§onchain: Option<AssetDetailsOnchain>§metadata: AssetDetailsMetadataImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Asset
impl<'de> Deserialize<'de> for Asset
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
impl StructuralPartialEq for Asset
Auto Trait Implementations§
impl Freeze for Asset
impl RefUnwindSafe for Asset
impl Send for Asset
impl Sync for Asset
impl Unpin for Asset
impl UnwindSafe for Asset
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