Enum lfest::ReturnsSource
source · [−]pub enum ReturnsSource {
Daily,
Hourly,
TickByTick,
}
Expand description
Defines the possible sources of returns to use
Variants
Daily
Daily sampled returns
Hourly
Hourly sampled returns
TickByTick
Tick-by-tick sampled returns
Trait Implementations
sourceimpl Clone for ReturnsSource
impl Clone for ReturnsSource
sourcefn clone(&self) -> ReturnsSource
fn clone(&self) -> ReturnsSource
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ReturnsSource
impl Debug for ReturnsSource
sourceimpl<'de> Deserialize<'de> for ReturnsSource
impl<'de> Deserialize<'de> for ReturnsSource
sourcefn 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
sourceimpl Serialize for ReturnsSource
impl Serialize for ReturnsSource
impl Copy for ReturnsSource
Auto Trait Implementations
impl RefUnwindSafe for ReturnsSource
impl Send for ReturnsSource
impl Sync for ReturnsSource
impl Unpin for ReturnsSource
impl UnwindSafe for ReturnsSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more