pub struct OttoParams {
pub ott_period: Option<usize>,
pub ott_percent: Option<f64>,
pub fast_vidya_length: Option<usize>,
pub slow_vidya_length: Option<usize>,
pub correcting_constant: Option<f64>,
pub ma_type: Option<String>,
}Fields§
§ott_period: Option<usize>§ott_percent: Option<f64>§fast_vidya_length: Option<usize>§slow_vidya_length: Option<usize>§correcting_constant: Option<f64>§ma_type: Option<String>Trait Implementations§
Source§impl Clone for OttoParams
impl Clone for OttoParams
Source§fn clone(&self) -> OttoParams
fn clone(&self) -> OttoParams
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 OttoParams
impl Debug for OttoParams
Source§impl Default for OttoParams
impl Default for OttoParams
Source§impl PartialEq for OttoParams
impl PartialEq for OttoParams
impl StructuralPartialEq for OttoParams
Auto Trait Implementations§
impl Freeze for OttoParams
impl RefUnwindSafe for OttoParams
impl Send for OttoParams
impl Sync for OttoParams
impl Unpin for OttoParams
impl UnwindSafe for OttoParams
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more