pub struct Schedule {
pub id: Uuid,
pub identifier: Option<String>,
pub uid: String,
pub actor_name: String,
pub rel_obj_app_label: String,
pub rel_obj_model: String,
pub rel_obj_id: Option<Option<String>>,
pub crontab: String,
pub paused: Option<bool>,
pub next_run: String,
pub description: Option<String>,
pub last_task_status: Option<LastTaskStatusEnum>,
}Fields§
§id: Uuid§identifier: Option<String>Unique schedule identifier
uid: String§actor_name: StringDramatiq actor to call
rel_obj_app_label: String§rel_obj_model: String§rel_obj_id: Option<Option<String>>§crontab: StringWhen to schedule tasks
paused: Option<bool>Pause this schedule
next_run: String§description: Option<String>§last_task_status: Option<LastTaskStatusEnum>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Schedule
impl<'de> Deserialize<'de> for Schedule
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
impl StructuralPartialEq for Schedule
Auto Trait Implementations§
impl Freeze for Schedule
impl RefUnwindSafe for Schedule
impl Send for Schedule
impl Sync for Schedule
impl Unpin for Schedule
impl UnsafeUnpin for Schedule
impl UnwindSafe for Schedule
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