pub struct CollateralRatioConfig {
pub currencies: Option<String>,
pub collateral_ratio_list: Option<Vec<CollateralRatioTier>>,
}Fields§
§currencies: Option<String>§collateral_ratio_list: Option<Vec<CollateralRatioTier>>Trait Implementations§
Source§impl Clone for CollateralRatioConfig
impl Clone for CollateralRatioConfig
Source§fn clone(&self) -> CollateralRatioConfig
fn clone(&self) -> CollateralRatioConfig
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 CollateralRatioConfig
impl Debug for CollateralRatioConfig
Source§impl<'de> Deserialize<'de> for CollateralRatioConfig
impl<'de> Deserialize<'de> for CollateralRatioConfig
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 CollateralRatioConfig
impl RefUnwindSafe for CollateralRatioConfig
impl Send for CollateralRatioConfig
impl Sync for CollateralRatioConfig
impl Unpin for CollateralRatioConfig
impl UnsafeUnpin for CollateralRatioConfig
impl UnwindSafe for CollateralRatioConfig
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