Struct bybit::model::AddReduceMarginResult
source · pub struct AddReduceMarginResult {Show 23 fields
pub category: String,
pub symbol: String,
pub position_idx: i32,
pub risk_id: i32,
pub risk_limit_value: String,
pub size: String,
pub position_value: String,
pub avg_price: String,
pub liq_price: String,
pub bust_price: String,
pub mark_price: String,
pub leverage: String,
pub auto_add_margin: i32,
pub position_status: String,
pub position_im: String,
pub position_mm: String,
pub unrealised_pnl: String,
pub cum_realised_pnl: String,
pub stop_loss: String,
pub take_profit: String,
pub trailing_stop: String,
pub created_time: String,
pub updated_time: String,
}Fields§
§category: String§symbol: String§position_idx: i32§risk_id: i32§risk_limit_value: String§size: String§position_value: String§avg_price: String§liq_price: String§bust_price: String§mark_price: String§leverage: String§auto_add_margin: i32§position_status: String§position_im: String§position_mm: String§unrealised_pnl: String§cum_realised_pnl: String§stop_loss: String§take_profit: String§trailing_stop: String§created_time: String§updated_time: StringTrait Implementations§
source§impl Clone for AddReduceMarginResult
impl Clone for AddReduceMarginResult
source§fn clone(&self) -> AddReduceMarginResult
fn clone(&self) -> AddReduceMarginResult
Returns a copy 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 AddReduceMarginResult
impl Debug for AddReduceMarginResult
source§impl<'de> Deserialize<'de> for AddReduceMarginResult
impl<'de> Deserialize<'de> for AddReduceMarginResult
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 RefUnwindSafe for AddReduceMarginResult
impl Send for AddReduceMarginResult
impl Sync for AddReduceMarginResult
impl Unpin for AddReduceMarginResult
impl UnwindSafe for AddReduceMarginResult
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