pub struct VaultAsset {
pub kind: String,
pub network: String,
pub tid: String,
pub decimals: f64,
pub symbol: Option<String>,
pub verified: Option<bool>,
pub available_balance: String,
pub quarantined_balance: String,
pub locked_balance: String,
pub quotes: Option<Value>,
}Expand description
Vault asset with balances broken down by kind and USD unit price.
Fields§
§kind: String§network: String§tid: String§decimals: f64§symbol: Option<String>§verified: Option<bool>§available_balance: String§quarantined_balance: String§locked_balance: String§quotes: Option<Value>Trait Implementations§
Source§impl Clone for VaultAsset
impl Clone for VaultAsset
Source§fn clone(&self) -> VaultAsset
fn clone(&self) -> VaultAsset
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 VaultAsset
impl Debug for VaultAsset
Source§impl<'de> Deserialize<'de> for VaultAsset
impl<'de> Deserialize<'de> for VaultAsset
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 VaultAsset
impl RefUnwindSafe for VaultAsset
impl Send for VaultAsset
impl Sync for VaultAsset
impl Unpin for VaultAsset
impl UnsafeUnpin for VaultAsset
impl UnwindSafe for VaultAsset
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