pub struct CurrencyWithApr {
pub apr: Option<f64>,
pub coin_type: CurrencyWithAprCoinType,
pub currency: String,
pub currency_long: String,
pub fee_precision: Option<i64>,
pub in_cross_collateral_pool: bool,
pub min_confirmations: Option<i64>,
pub min_withdrawal_fee: Option<f64>,
pub withdrawal_fee: f64,
pub withdrawal_priorities: Option<Vec<KeyNumberPair>>,
}Fields§
§apr: Option<f64>§coin_type: CurrencyWithAprCoinType§currency: String§currency_long: String§fee_precision: Option<i64>§in_cross_collateral_pool: bool§min_confirmations: Option<i64>§min_withdrawal_fee: Option<f64>§withdrawal_fee: f64§withdrawal_priorities: Option<Vec<KeyNumberPair>>Trait Implementations§
Source§impl Clone for CurrencyWithApr
impl Clone for CurrencyWithApr
Source§fn clone(&self) -> CurrencyWithApr
fn clone(&self) -> CurrencyWithApr
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 CurrencyWithApr
impl Debug for CurrencyWithApr
Source§impl Default for CurrencyWithApr
impl Default for CurrencyWithApr
Source§fn default() -> CurrencyWithApr
fn default() -> CurrencyWithApr
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CurrencyWithApr
impl<'de> Deserialize<'de> for CurrencyWithApr
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
Source§impl PartialEq for CurrencyWithApr
impl PartialEq for CurrencyWithApr
Source§impl Serialize for CurrencyWithApr
impl Serialize for CurrencyWithApr
impl StructuralPartialEq for CurrencyWithApr
Auto Trait Implementations§
impl Freeze for CurrencyWithApr
impl RefUnwindSafe for CurrencyWithApr
impl Send for CurrencyWithApr
impl Sync for CurrencyWithApr
impl Unpin for CurrencyWithApr
impl UnwindSafe for CurrencyWithApr
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