#[repr(u8)]pub enum DayEntryRandomizationType {
None = 0,
Fixed = 1,
Random = 2,
Randompositive = 3,
Randomnegative = 4,
}Variants§
None = 0
No randomization applied
Fixed = 1
An unchanging offset
Random = 2
A random value
Randompositive = 3
A random positive value
Randomnegative = 4
A random negative value
Implementations§
Trait Implementations§
Source§impl Clone for DayEntryRandomizationType
impl Clone for DayEntryRandomizationType
Source§fn clone(&self) -> DayEntryRandomizationType
fn clone(&self) -> DayEntryRandomizationType
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 DayEntryRandomizationType
impl Debug for DayEntryRandomizationType
Source§impl<'de> Deserialize<'de> for DayEntryRandomizationType
impl<'de> Deserialize<'de> for DayEntryRandomizationType
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 From<DayEntryRandomizationType> for u8
impl From<DayEntryRandomizationType> for u8
Source§fn from(val: DayEntryRandomizationType) -> Self
fn from(val: DayEntryRandomizationType) -> Self
Converts to this type from the input type.
impl Copy for DayEntryRandomizationType
impl Eq for DayEntryRandomizationType
impl StructuralPartialEq for DayEntryRandomizationType
Auto Trait Implementations§
impl Freeze for DayEntryRandomizationType
impl RefUnwindSafe for DayEntryRandomizationType
impl Send for DayEntryRandomizationType
impl Sync for DayEntryRandomizationType
impl Unpin for DayEntryRandomizationType
impl UnwindSafe for DayEntryRandomizationType
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