pub struct GTTCondition {
pub exchange: Exchange,
pub trading_symbol: String,
pub trigger_values: Vec<f64>,
pub last_price: f64,
}
Expand description
GTT trigger condition
Fields§
§exchange: Exchange
Exchange
trading_symbol: String
Trading symbol
trigger_values: Vec<f64>
Trigger values (price levels)
last_price: f64
Last price (when condition was created)
Trait Implementations§
Source§impl Clone for GTTCondition
impl Clone for GTTCondition
Source§fn clone(&self) -> GTTCondition
fn clone(&self) -> GTTCondition
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 GTTCondition
impl Debug for GTTCondition
Source§impl<'de> Deserialize<'de> for GTTCondition
impl<'de> Deserialize<'de> for GTTCondition
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 GTTCondition
impl RefUnwindSafe for GTTCondition
impl Send for GTTCondition
impl Sync for GTTCondition
impl Unpin for GTTCondition
impl UnwindSafe for GTTCondition
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