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