pub enum VwapPriceSource {
Typical,
Close,
}Expand description
Price input for VWAP numerator.
Variants§
Trait Implementations§
Source§impl Clone for VwapPriceSource
impl Clone for VwapPriceSource
Source§fn clone(&self) -> VwapPriceSource
fn clone(&self) -> VwapPriceSource
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 VwapPriceSource
Source§impl Debug for VwapPriceSource
impl Debug for VwapPriceSource
Source§impl Default for VwapPriceSource
impl Default for VwapPriceSource
Source§fn default() -> VwapPriceSource
fn default() -> VwapPriceSource
Returns the “default value” for a type. Read more
impl Eq for VwapPriceSource
Source§impl Hash for VwapPriceSource
impl Hash for VwapPriceSource
Source§impl PartialEq for VwapPriceSource
impl PartialEq for VwapPriceSource
impl StructuralPartialEq for VwapPriceSource
Auto Trait Implementations§
impl Freeze for VwapPriceSource
impl RefUnwindSafe for VwapPriceSource
impl Send for VwapPriceSource
impl Sync for VwapPriceSource
impl Unpin for VwapPriceSource
impl UnsafeUnpin for VwapPriceSource
impl UnwindSafe for VwapPriceSource
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