pub struct AdlAlertRecord {
pub coin: Option<String>,
pub symbol: Option<String>,
pub balance: Option<String>,
pub max_balance: Option<String>,
pub insurance_pnl_ratio: Option<String>,
pub pnl_ratio: Option<String>,
pub adl_trigger_threshold: Option<String>,
pub adl_stop_ratio: Option<String>,
}Expand description
ADL alert record.
Fields§
§coin: Option<String>§symbol: Option<String>§balance: Option<String>§max_balance: Option<String>§insurance_pnl_ratio: Option<String>§pnl_ratio: Option<String>§adl_trigger_threshold: Option<String>§adl_stop_ratio: Option<String>Trait Implementations§
Source§impl Clone for AdlAlertRecord
impl Clone for AdlAlertRecord
Source§fn clone(&self) -> AdlAlertRecord
fn clone(&self) -> AdlAlertRecord
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 AdlAlertRecord
impl Debug for AdlAlertRecord
Source§impl<'de> Deserialize<'de> for AdlAlertRecord
impl<'de> Deserialize<'de> for AdlAlertRecord
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 AdlAlertRecord
impl RefUnwindSafe for AdlAlertRecord
impl Send for AdlAlertRecord
impl Sync for AdlAlertRecord
impl Unpin for AdlAlertRecord
impl UnsafeUnpin for AdlAlertRecord
impl UnwindSafe for AdlAlertRecord
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