pub enum PriceSource {
Open,
High,
Low,
Close,
HLC3,
OHLC4,
HL2,
}Expand description
Which price field to use as input source.
Variants§
Trait Implementations§
Source§impl Clone for PriceSource
impl Clone for PriceSource
Source§fn clone(&self) -> PriceSource
fn clone(&self) -> PriceSource
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 PriceSource
impl Debug for PriceSource
Source§impl<'de> Deserialize<'de> for PriceSource
impl<'de> Deserialize<'de> for PriceSource
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 PriceSource
impl PartialEq for PriceSource
Source§impl Serialize for PriceSource
impl Serialize for PriceSource
impl Copy for PriceSource
impl Eq for PriceSource
impl StructuralPartialEq for PriceSource
Auto Trait Implementations§
impl Freeze for PriceSource
impl RefUnwindSafe for PriceSource
impl Send for PriceSource
impl Sync for PriceSource
impl Unpin for PriceSource
impl UnsafeUnpin for PriceSource
impl UnwindSafe for PriceSource
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