pub enum ScheduleExpr {
Cron(Schedule),
Preset(SchedulePreset),
}Variants§
Implementations§
Source§impl ScheduleExpr
impl ScheduleExpr
pub fn to_cron_schedule(&self) -> Result<Schedule, Error>
Trait Implementations§
Source§impl Clone for ScheduleExpr
impl Clone for ScheduleExpr
Source§fn clone(&self) -> ScheduleExpr
fn clone(&self) -> ScheduleExpr
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 ScheduleExpr
impl Debug for ScheduleExpr
Source§impl FromStr for ScheduleExpr
impl FromStr for ScheduleExpr
Source§impl<'a> TryFrom<&'a str> for ScheduleExpr
impl<'a> TryFrom<&'a str> for ScheduleExpr
Auto Trait Implementations§
impl Freeze for ScheduleExpr
impl RefUnwindSafe for ScheduleExpr
impl Send for ScheduleExpr
impl Sync for ScheduleExpr
impl Unpin for ScheduleExpr
impl UnwindSafe for ScheduleExpr
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