pub struct MarketAsset {
pub symbol: String,
pub asset: AssetId,
pub decimals: u32,
pub max_precision: u32,
}Expand description
Asset info within a market.
Fields§
§symbol: String§asset: AssetId§decimals: u32§max_precision: u32Trait Implementations§
Source§impl Clone for MarketAsset
impl Clone for MarketAsset
Source§fn clone(&self) -> MarketAsset
fn clone(&self) -> MarketAsset
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 MarketAsset
impl Debug for MarketAsset
Source§impl<'de> Deserialize<'de> for MarketAsset
impl<'de> Deserialize<'de> for MarketAsset
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 MarketAsset
impl RefUnwindSafe for MarketAsset
impl Send for MarketAsset
impl Sync for MarketAsset
impl Unpin for MarketAsset
impl UnwindSafe for MarketAsset
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