pub enum Repeat {
Once,
Daily,
Weekly,
}Variants§
Trait Implementations§
impl Copy for Repeat
impl Eq for Repeat
impl StructuralPartialEq for Repeat
Source§impl Variants for Repeat
impl Variants for Repeat
const TYPE: &'static str = "local schedule repeat"
const VARIANTS: &'static [(&'static str, Self)]
Source§const PATH: &'static str = Self::TYPE
const PATH: &'static str = Self::TYPE
Module-qualified, so two enums of one name keep their recorded moves apart.
const TRANSITIONS: &'static [(Self, Self)] = _
fn name(self) -> &'static str
fn to(self, next: Self) -> Result<Self, Error>
Auto Trait Implementations§
impl Freeze for Repeat
impl RefUnwindSafe for Repeat
impl Send for Repeat
impl Sync for Repeat
impl Unpin for Repeat
impl UnsafeUnpin for Repeat
impl UnwindSafe for Repeat
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