pub enum StudySource {
Price(PriceSource),
Study {
id: usize,
plot: usize,
},
}Expand description
A price series or an output of another study on the chart.
Variants§
Price(PriceSource)
A field or average of fields of the input bars.
Study
A stable chart study id and its zero-based output column, without plot displacement.
Trait Implementations§
Source§impl Clone for StudySource
impl Clone for StudySource
Source§fn clone(&self) -> StudySource
fn clone(&self) -> StudySource
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 StudySource
Source§impl Debug for StudySource
impl Debug for StudySource
Source§impl<'de> Deserialize<'de> for StudySource
impl<'de> Deserialize<'de> for StudySource
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
impl Eq for StudySource
Source§impl PartialEq for StudySource
impl PartialEq for StudySource
Source§impl Serialize for StudySource
impl Serialize for StudySource
impl StructuralPartialEq for StudySource
Auto Trait Implementations§
impl Freeze for StudySource
impl RefUnwindSafe for StudySource
impl Send for StudySource
impl Sync for StudySource
impl Unpin for StudySource
impl UnsafeUnpin for StudySource
impl UnwindSafe for StudySource
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
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