pub enum TradeRiskProfile {
Low,
Medium,
High,
}
Expand description
[Only for Snowball] The trade risk profile for the Snowball contract. Higher risk profile offers higher coupon rate at the expense of higher probability of breaching caution price
Variants§
Trait Implementations§
Source§impl Clone for TradeRiskProfile
impl Clone for TradeRiskProfile
Source§fn clone(&self) -> TradeRiskProfile
fn clone(&self) -> TradeRiskProfile
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 TradeRiskProfile
impl Debug for TradeRiskProfile
Source§impl<'de> Deserialize<'de> for TradeRiskProfile
impl<'de> Deserialize<'de> for TradeRiskProfile
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 TradeRiskProfile
impl RefUnwindSafe for TradeRiskProfile
impl Send for TradeRiskProfile
impl Sync for TradeRiskProfile
impl Unpin for TradeRiskProfile
impl UnwindSafe for TradeRiskProfile
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