pub struct PerpAsset {
pub name: String,
pub sz_decimals: u32,
pub max_leverage: u32,
pub is_delisted: Option<bool>,
}Fields§
§name: String§sz_decimals: u32§max_leverage: u32§is_delisted: Option<bool>Trait Implementations§
Source§impl<'de> Deserialize<'de> for PerpAsset
impl<'de> Deserialize<'de> for PerpAsset
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 PerpAsset
impl RefUnwindSafe for PerpAsset
impl Send for PerpAsset
impl Sync for PerpAsset
impl Unpin for PerpAsset
impl UnsafeUnpin for PerpAsset
impl UnwindSafe for PerpAsset
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