[−][src]Struct ib::models::Order
Methods
impl Order
[src]
impl Order
pub fn new() -> Order | [src] |
contains all the order related info
pub fn set_acct(&mut self, acct: String) | [src] |
pub fn with_acct(self, acct: String) -> Order | [src] |
pub fn acct(&self) -> Option<&String> | [src] |
pub fn reset_acct(&mut self) | [src] |
pub fn set_conid(&mut self, conid: i32) | [src] |
pub fn with_conid(self, conid: i32) -> Order | [src] |
pub fn conid(&self) -> Option<&i32> | [src] |
pub fn reset_conid(&mut self) | [src] |
pub fn set_order_desc(&mut self, order_desc: String) | [src] |
pub fn with_order_desc(self, order_desc: String) -> Order | [src] |
pub fn order_desc(&self) -> Option<&String> | [src] |
pub fn reset_order_desc(&mut self) | [src] |
pub fn set_description1(&mut self, description1: String) | [src] |
pub fn with_description1(self, description1: String) -> Order | [src] |
pub fn description1(&self) -> Option<&String> | [src] |
pub fn reset_description1(&mut self) | [src] |
pub fn set_ticker(&mut self, ticker: String) | [src] |
pub fn with_ticker(self, ticker: String) -> Order | [src] |
pub fn ticker(&self) -> Option<&String> | [src] |
pub fn reset_ticker(&mut self) | [src] |
pub fn set_sec_type(&mut self, sec_type: String) | [src] |
pub fn with_sec_type(self, sec_type: String) -> Order | [src] |
pub fn sec_type(&self) -> Option<&String> | [src] |
pub fn reset_sec_type(&mut self) | [src] |
pub fn set_listing_exchange(&mut self, listing_exchange: String) | [src] |
pub fn with_listing_exchange(self, listing_exchange: String) -> Order | [src] |
pub fn listing_exchange(&self) -> Option<&String> | [src] |
pub fn reset_listing_exchange(&mut self) | [src] |
pub fn set_remaining_quantity(&mut self, remaining_quantity: String) | [src] |
pub fn with_remaining_quantity(self, remaining_quantity: String) -> Order | [src] |
pub fn remaining_quantity(&self) -> Option<&String> | [src] |
pub fn reset_remaining_quantity(&mut self) | [src] |
pub fn set_filled_quantity(&mut self, filled_quantity: String) | [src] |
pub fn with_filled_quantity(self, filled_quantity: String) -> Order | [src] |
pub fn filled_quantity(&self) -> Option<&String> | [src] |
pub fn reset_filled_quantity(&mut self) | [src] |
pub fn set_company_name(&mut self, company_name: String) | [src] |
pub fn with_company_name(self, company_name: String) -> Order | [src] |
pub fn company_name(&self) -> Option<&String> | [src] |
pub fn reset_company_name(&mut self) | [src] |
pub fn set_status(&mut self, status: String) | [src] |
pub fn with_status(self, status: String) -> Order | [src] |
pub fn status(&self) -> Option<&String> | [src] |
pub fn reset_status(&mut self) | [src] |
pub fn set_orig_order_type(&mut self, orig_order_type: String) | [src] |
pub fn with_orig_order_type(self, orig_order_type: String) -> Order | [src] |
pub fn orig_order_type(&self) -> Option<&String> | [src] |
pub fn reset_orig_order_type(&mut self) | [src] |
pub fn set_side(&mut self, side: String) | [src] |
pub fn with_side(self, side: String) -> Order | [src] |
pub fn side(&self) -> Option<&String> | [src] |
pub fn reset_side(&mut self) | [src] |
pub fn set_price(&mut self, price: f32) | [src] |
pub fn with_price(self, price: f32) -> Order | [src] |
pub fn price(&self) -> Option<&f32> | [src] |
pub fn reset_price(&mut self) | [src] |
pub fn set_bg_color(&mut self, bg_color: String) | [src] |
pub fn with_bg_color(self, bg_color: String) -> Order | [src] |
pub fn bg_color(&self) -> Option<&String> | [src] |
pub fn reset_bg_color(&mut self) | [src] |
pub fn set_fg_color(&mut self, fg_color: String) | [src] |
pub fn with_fg_color(self, fg_color: String) -> Order | [src] |
pub fn fg_color(&self) -> Option<&String> | [src] |
pub fn reset_fg_color(&mut self) | [src] |
pub fn set_order_id(&mut self, order_id: i32) | [src] |
pub fn with_order_id(self, order_id: i32) -> Order | [src] |
pub fn order_id(&self) -> Option<&i32> | [src] |
pub fn reset_order_id(&mut self) | [src] |
Trait Implementations
impl Debug for Order
[src]
impl Debug for Order
impl Serialize for Order
[src]
impl Serialize for Order
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where | [src] |
impl<'de> Deserialize<'de> for Order
[src]
impl<'de> Deserialize<'de> for Order
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where | [src] |
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Erased for T
impl<T> Erased for T
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,