Struct fireblocks_sdk::types::asset::AccountAsset
source · pub struct AccountAsset {Show 15 fields
pub id: String,
pub total: BigDecimal,
pub available: BigDecimal,
pub pending: BigDecimal,
pub frozen: BigDecimal,
pub locked_amount: BigDecimal,
pub staked: BigDecimal,
pub total_staked_cpu: Option<BigDecimal>,
pub total_staked_network: Option<String>,
pub self_staked_cpu: Option<BigDecimal>,
pub self_staked_network: Option<String>,
pub pending_refund_cpu: Option<BigDecimal>,
pub pending_refund_network: Option<String>,
pub block_height: Option<String>,
pub block_hash: Option<String>,
}
Fields§
§id: String
§total: BigDecimal
§available: BigDecimal
§pending: BigDecimal
§frozen: BigDecimal
§locked_amount: BigDecimal
§staked: BigDecimal
§total_staked_cpu: Option<BigDecimal>
§total_staked_network: Option<String>
§self_staked_cpu: Option<BigDecimal>
§self_staked_network: Option<String>
§pending_refund_cpu: Option<BigDecimal>
§pending_refund_network: Option<String>
§block_height: Option<String>
§block_hash: Option<String>
Trait Implementations§
source§impl Clone for AccountAsset
impl Clone for AccountAsset
source§fn clone(&self) -> AccountAsset
fn clone(&self) -> AccountAsset
Returns a copy 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 AccountAsset
impl Debug for AccountAsset
source§impl Default for AccountAsset
impl Default for AccountAsset
source§fn default() -> AccountAsset
fn default() -> AccountAsset
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AccountAsset
impl<'de> Deserialize<'de> for AccountAsset
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 AccountAsset
impl RefUnwindSafe for AccountAsset
impl Send for AccountAsset
impl Sync for AccountAsset
impl Unpin for AccountAsset
impl UnwindSafe for AccountAsset
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