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 ComposeSchema for AuctionType
impl ComposeSchema for AuctionType
Source§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
Source§impl ToSchema for AuctionType
impl ToSchema 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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.