pub struct CoinbaseIntxAsset {
pub asset_id: String,
pub asset_uuid: String,
pub asset_name: String,
pub status: CoinbaseIntxAssetStatus,
pub collateral_weight: f64,
pub supported_networks_enabled: bool,
pub min_borrow_qty: Option<String>,
pub max_borrow_qty: Option<String>,
pub loan_collateral_requirement_multiplier: f64,
pub account_collateral_limit: Option<String>,
pub ecosystem_collateral_limit_breached: bool,
}Expand description
Represents a Coinbase International asset.
Fields§
§asset_id: StringAsset ID.
asset_uuid: StringAsset UUID.
asset_name: StringAsset name/symbol (e.g., “BTC”).
status: CoinbaseIntxAssetStatusAsset status (e.g., “ACTIVE”).
collateral_weight: f64Weight used for collateral calculations.
supported_networks_enabled: boolWhether supported networks are enabled.
min_borrow_qty: Option<String>Minimum borrow quantity allowed.
max_borrow_qty: Option<String>Maximum borrow quantity allowed.
loan_collateral_requirement_multiplier: f64Collateral requirement multiplier for loans.
account_collateral_limit: Option<String>Collateral limit per account.
ecosystem_collateral_limit_breached: boolWhether ecosystem collateral limit is breached.
Trait Implementations§
Source§impl Clone for CoinbaseIntxAsset
impl Clone for CoinbaseIntxAsset
Source§fn clone(&self) -> CoinbaseIntxAsset
fn clone(&self) -> CoinbaseIntxAsset
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 CoinbaseIntxAsset
impl Debug for CoinbaseIntxAsset
Source§impl<'de> Deserialize<'de> for CoinbaseIntxAsset
impl<'de> Deserialize<'de> for CoinbaseIntxAsset
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 CoinbaseIntxAsset
impl RefUnwindSafe for CoinbaseIntxAsset
impl Send for CoinbaseIntxAsset
impl Sync for CoinbaseIntxAsset
impl Unpin for CoinbaseIntxAsset
impl UnwindSafe for CoinbaseIntxAsset
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more