pub struct SingleIndicator {
pub date: u32,
pub dif: f64,
pub dea: f64,
pub macd: f64,
}Fields§
§date: u32§dif: f64§dea: f64§macd: f64Trait Implementations§
Source§impl Clone for SingleIndicator
impl Clone for SingleIndicator
Source§fn clone(&self) -> SingleIndicator
fn clone(&self) -> SingleIndicator
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 SingleIndicator
impl Debug for SingleIndicator
Source§impl<'de> Deserialize<'de> for SingleIndicator
impl<'de> Deserialize<'de> for SingleIndicator
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 From<(u32, MovingAverageConvergenceDivergenceOutput)> for SingleIndicator
we prefix macd with a double value to match our need in tdx pattern
impl From<(u32, MovingAverageConvergenceDivergenceOutput)> for SingleIndicator
we prefix macd with a double value to match our need in tdx pattern
Auto Trait Implementations§
impl Freeze for SingleIndicator
impl RefUnwindSafe for SingleIndicator
impl Send for SingleIndicator
impl Sync for SingleIndicator
impl Unpin for SingleIndicator
impl UnwindSafe for SingleIndicator
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