#[non_exhaustive]pub enum WeeklyAlignment {
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
Saturday,
Sunday,
Unknown(String),
}Expand description
The day of the week to use for candlestick granularities with weekly alignment.
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.
Monday
Monday
Tuesday
Tuesday
Wednesday
Wednesday
Thursday
Thursday
Friday
Friday
Saturday
Saturday
Sunday
Sunday
Unknown(String)
An unrecognized provider value, preserved for forward compatibility.
Implementations§
Trait Implementations§
Source§impl Clone for WeeklyAlignment
impl Clone for WeeklyAlignment
Source§impl Debug for WeeklyAlignment
impl Debug for WeeklyAlignment
Source§impl<'de> Deserialize<'de> for WeeklyAlignment
impl<'de> Deserialize<'de> for WeeklyAlignment
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WeeklyAlignment
Source§impl Hash for WeeklyAlignment
impl Hash for WeeklyAlignment
Source§impl PartialEq for WeeklyAlignment
impl PartialEq for WeeklyAlignment
Source§impl Serialize for WeeklyAlignment
impl Serialize for WeeklyAlignment
impl StructuralPartialEq for WeeklyAlignment
Auto Trait Implementations§
impl Freeze for WeeklyAlignment
impl RefUnwindSafe for WeeklyAlignment
impl Send for WeeklyAlignment
impl Sync for WeeklyAlignment
impl Unpin for WeeklyAlignment
impl UnsafeUnpin for WeeklyAlignment
impl UnwindSafe for WeeklyAlignment
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