pub enum AuctionType {
Opening,
Closing,
Volatility,
}Expand description
Auction type for auction orders
Variants§
Opening
Opening auction strategy.
Closing
Closing auction strategy.
Volatility
Volatility auction strategy.
Implementations§
Source§impl AuctionType
impl AuctionType
Sourcepub fn to_strategy(&self) -> i32
pub fn to_strategy(&self) -> i32
Return the numeric strategy identifier used by TWS.
Trait Implementations§
Source§impl Clone for AuctionType
impl Clone for AuctionType
Source§fn clone(&self) -> AuctionType
fn clone(&self) -> AuctionType
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 AuctionType
impl Debug for AuctionType
Source§impl<'de> Deserialize<'de> for AuctionType
impl<'de> Deserialize<'de> for AuctionType
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
Source§impl PartialEq for AuctionType
impl PartialEq for AuctionType
Source§impl Serialize for AuctionType
impl Serialize for AuctionType
impl Eq for AuctionType
impl StructuralPartialEq for AuctionType
Auto Trait Implementations§
impl Freeze for AuctionType
impl RefUnwindSafe for AuctionType
impl Send for AuctionType
impl Sync for AuctionType
impl Unpin for AuctionType
impl UnwindSafe for AuctionType
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