pub struct ZigZagNode {
pub timestamp: i64,
pub price: f64,
pub is_high: bool,
}Expand description
ZigZag Swing Node.
Fields§
§timestamp: i64§price: f64§is_high: boolTrait Implementations§
Source§impl Clone for ZigZagNode
impl Clone for ZigZagNode
Source§fn clone(&self) -> ZigZagNode
fn clone(&self) -> ZigZagNode
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 moreimpl Copy for ZigZagNode
Source§impl Debug for ZigZagNode
impl Debug for ZigZagNode
Source§impl<'de> Deserialize<'de> for ZigZagNode
impl<'de> Deserialize<'de> for ZigZagNode
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 PartialEq for ZigZagNode
impl PartialEq for ZigZagNode
Source§impl Serialize for ZigZagNode
impl Serialize for ZigZagNode
impl StructuralPartialEq for ZigZagNode
Auto Trait Implementations§
impl Freeze for ZigZagNode
impl RefUnwindSafe for ZigZagNode
impl Send for ZigZagNode
impl Sync for ZigZagNode
impl Unpin for ZigZagNode
impl UnsafeUnpin for ZigZagNode
impl UnwindSafe for ZigZagNode
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