pub struct VerticalEntryRules {
pub type: String,
pub dte_min: u32,
pub dte_max: u32,
pub min_credit: f64,
pub max_width: f64,
pub short_delta_min: f64,
pub short_delta_max: f64,
pub max_open_positions: u32,
pub max_contracts_per_trade: u32,
}Fields§
§type: String§dte_min: u32§dte_max: u32§min_credit: f64§max_width: f64§short_delta_min: f64§short_delta_max: f64§max_open_positions: u32§max_contracts_per_trade: u32Trait Implementations§
Source§impl Clone for VerticalEntryRules
impl Clone for VerticalEntryRules
Source§fn clone(&self) -> VerticalEntryRules
fn clone(&self) -> VerticalEntryRules
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VerticalEntryRules
impl Debug for VerticalEntryRules
Source§impl Default for VerticalEntryRules
impl Default for VerticalEntryRules
Source§impl<'de> Deserialize<'de> for VerticalEntryRuleswhere
VerticalEntryRules: Default,
impl<'de> Deserialize<'de> for VerticalEntryRuleswhere
VerticalEntryRules: Default,
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 VerticalEntryRules
impl RefUnwindSafe for VerticalEntryRules
impl Send for VerticalEntryRules
impl Sync for VerticalEntryRules
impl Unpin for VerticalEntryRules
impl UnsafeUnpin for VerticalEntryRules
impl UnwindSafe for VerticalEntryRules
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