pub struct ScheduleConfig {
pub id: ScheduleId,
pub name: ScheduleName,
pub definition: ScheduleDefinition,
pub misfire_policy: MisfirePolicy,
pub task: EnqueueRequest,
pub start_at: Option<DateTime<Utc>>,
}Fields§
§id: ScheduleId§name: ScheduleName§definition: ScheduleDefinition§misfire_policy: MisfirePolicy§task: EnqueueRequest§start_at: Option<DateTime<Utc>>Implementations§
Source§impl ScheduleConfig
impl ScheduleConfig
pub fn new( name: ScheduleName, definition: ScheduleDefinition, task: EnqueueRequest, ) -> Self
Trait Implementations§
Source§impl Clone for ScheduleConfig
impl Clone for ScheduleConfig
Source§fn clone(&self) -> ScheduleConfig
fn clone(&self) -> ScheduleConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ScheduleConfig
impl RefUnwindSafe for ScheduleConfig
impl Send for ScheduleConfig
impl Sync for ScheduleConfig
impl Unpin for ScheduleConfig
impl UnsafeUnpin for ScheduleConfig
impl UnwindSafe for ScheduleConfig
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