#[non_exhaustive]pub enum Resampling {
None,
Daily,
Weekly,
}Expand description
Forced resampling mode for merged history series.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
Do not force resampling; preserve the effective interval unless auto-subdaily triggers.
Daily
Force resampling to daily cadence.
Weekly
Force resampling to weekly cadence.
Trait Implementations§
Source§impl Clone for Resampling
impl Clone for Resampling
Source§fn clone(&self) -> Resampling
fn clone(&self) -> Resampling
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 Resampling
impl Debug for Resampling
Source§impl Default for Resampling
impl Default for Resampling
Source§fn default() -> Resampling
fn default() -> Resampling
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Resampling
impl<'de> Deserialize<'de> for Resampling
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 Resampling
impl PartialEq for Resampling
Source§impl Serialize for Resampling
impl Serialize for Resampling
impl Copy for Resampling
impl Eq for Resampling
impl StructuralPartialEq for Resampling
Auto Trait Implementations§
impl Freeze for Resampling
impl RefUnwindSafe for Resampling
impl Send for Resampling
impl Sync for Resampling
impl Unpin for Resampling
impl UnwindSafe for Resampling
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