pub struct BollingerBreakoutConfig {
pub enabled: bool,
pub period: u32,
pub std_dev: f64,
pub require_close_outside: bool,
}Fields§
§enabled: bool§period: u32§std_dev: f64§require_close_outside: boolTrait Implementations§
Source§impl Clone for BollingerBreakoutConfig
impl Clone for BollingerBreakoutConfig
Source§fn clone(&self) -> BollingerBreakoutConfig
fn clone(&self) -> BollingerBreakoutConfig
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 BollingerBreakoutConfig
impl Debug for BollingerBreakoutConfig
Source§impl Default for BollingerBreakoutConfig
impl Default for BollingerBreakoutConfig
Source§impl<'de> Deserialize<'de> for BollingerBreakoutConfigwhere
BollingerBreakoutConfig: Default,
impl<'de> Deserialize<'de> for BollingerBreakoutConfigwhere
BollingerBreakoutConfig: 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 BollingerBreakoutConfig
impl RefUnwindSafe for BollingerBreakoutConfig
impl Send for BollingerBreakoutConfig
impl Sync for BollingerBreakoutConfig
impl Unpin for BollingerBreakoutConfig
impl UnsafeUnpin for BollingerBreakoutConfig
impl UnwindSafe for BollingerBreakoutConfig
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