pub struct AlertOrder {
pub transaction_type: TransactionType,
pub exchange_segment: ExchangeSegment,
pub product_type: ProductType,
pub order_type: OrderType,
pub security_id: String,
pub quantity: u64,
pub validity: Validity,
pub price: String,
pub disc_quantity: Option<String>,
pub trigger_price: Option<String>,
}Expand description
Order to execute when the alert condition is met.
Fields§
§transaction_type: TransactionType§exchange_segment: ExchangeSegment§product_type: ProductType§order_type: OrderType§security_id: String§quantity: u64§validity: Validity§price: StringPrice at which order is placed (as string in API).
disc_quantity: Option<String>Disclosed quantity.
trigger_price: Option<String>Trigger price for SL/SL-M.
Trait Implementations§
Source§impl Clone for AlertOrder
impl Clone for AlertOrder
Source§fn clone(&self) -> AlertOrder
fn clone(&self) -> AlertOrder
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 AlertOrder
impl Debug for AlertOrder
Source§impl<'de> Deserialize<'de> for AlertOrder
impl<'de> Deserialize<'de> for AlertOrder
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 AlertOrder
impl RefUnwindSafe for AlertOrder
impl Send for AlertOrder
impl Sync for AlertOrder
impl Unpin for AlertOrder
impl UnsafeUnpin for AlertOrder
impl UnwindSafe for AlertOrder
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