pub struct PlatformAsset {
pub asset_id: String,
pub symbol: String,
pub name: String,
pub decimals: u8,
pub logo_url: Option<String>,
pub network: PlatformNetwork,
}Expand description
Asset identity used by ordinary SDK operations.
Fields§
§asset_id: String§symbol: String§name: String§decimals: u8§logo_url: Option<String>§network: PlatformNetworkTrait Implementations§
Source§impl Clone for PlatformAsset
impl Clone for PlatformAsset
Source§fn clone(&self) -> PlatformAsset
fn clone(&self) -> PlatformAsset
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlatformAsset
impl Debug for PlatformAsset
Source§impl<'de> Deserialize<'de> for PlatformAsset
impl<'de> Deserialize<'de> for PlatformAsset
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformAsset, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlatformAsset, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlatformAsset
Source§impl PartialEq for PlatformAsset
impl PartialEq for PlatformAsset
Source§impl Serialize for PlatformAsset
impl Serialize for PlatformAsset
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PlatformAsset
Auto Trait Implementations§
impl Freeze for PlatformAsset
impl RefUnwindSafe for PlatformAsset
impl Send for PlatformAsset
impl Sync for PlatformAsset
impl Unpin for PlatformAsset
impl UnsafeUnpin for PlatformAsset
impl UnwindSafe for PlatformAsset
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