pub struct Trigger {Show 23 fields
pub trigger_id: String,
pub subaccount_id: String,
pub symbol_id: u32,
pub symbol: String,
pub trigger_type: String,
pub status: String,
pub parent_order_id: Option<String>,
pub side: String,
pub order_type: String,
pub time_in_force: String,
pub qty: Option<Quantity>,
pub limit_price: Option<Price>,
pub fee_asset: String,
pub self_trade_prevention_mode: String,
pub post_only: bool,
pub trigger_price: Option<Price>,
pub client_trigger_id: String,
pub created_at: Option<Timestamp>,
pub updated_at: Option<Timestamp>,
pub armed_at: Option<Timestamp>,
pub completed_at: Option<Timestamp>,
pub child_order_ids: Vec<String>,
pub details: Option<TriggerDetails>,
}Fields§
§trigger_id: String§subaccount_id: String§symbol_id: u32§symbol: String§trigger_type: String§status: String§parent_order_id: Option<String>§side: String§order_type: String§time_in_force: String§qty: Option<Quantity>§limit_price: Option<Price>§fee_asset: String§self_trade_prevention_mode: String§post_only: bool§trigger_price: Option<Price>Convenience: stop-trigger price when details are Stop.
client_trigger_id: String§created_at: Option<Timestamp>§updated_at: Option<Timestamp>§armed_at: Option<Timestamp>§completed_at: Option<Timestamp>§child_order_ids: Vec<String>§details: Option<TriggerDetails>Trait Implementations§
impl StructuralPartialEq for Trigger
Auto Trait Implementations§
impl Freeze for Trigger
impl RefUnwindSafe for Trigger
impl Send for Trigger
impl Sync for Trigger
impl Unpin for Trigger
impl UnsafeUnpin for Trigger
impl UnwindSafe for Trigger
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