pub enum ScheduleType {
Cron {
expression: String,
},
Interval {
interval_secs: u64,
},
Event {
event_pattern: String,
},
Manual,
Dependency {
dependencies: Vec<String>,
},
}Expand description
Schedule type enumeration.
Variants§
Cron
Cron-based scheduling.
Interval
Interval-based scheduling.
Event
Event-driven trigger.
Manual
Manual trigger only.
Dependency
Dependency-based trigger.
Trait Implementations§
Source§impl Clone for ScheduleType
impl Clone for ScheduleType
Source§fn clone(&self) -> ScheduleType
fn clone(&self) -> ScheduleType
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 ScheduleType
impl Debug for ScheduleType
Source§impl<'de> Deserialize<'de> for ScheduleType
impl<'de> Deserialize<'de> for ScheduleType
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
Auto Trait Implementations§
impl Freeze for ScheduleType
impl RefUnwindSafe for ScheduleType
impl Send for ScheduleType
impl Sync for ScheduleType
impl Unpin for ScheduleType
impl UnsafeUnpin for ScheduleType
impl UnwindSafe for ScheduleType
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