pub struct CronJobMeta {
pub id: String,
pub name: String,
pub queue: String,
pub cron_expression: String,
pub timezone: String,
pub enabled: bool,
pub last_run: Option<String>,
pub next_run: String,
pub created_at: String,
pub payload: String,
}Expand description
Metadata for storing cron jobs in Redis
Fields§
§id: String§name: String§queue: String§cron_expression: String§timezone: String§enabled: bool§last_run: Option<String>RFC3339 (UTC). May be absent on first run.
next_run: String§created_at: String§payload: StringTrait Implementations§
Source§impl Clone for CronJobMeta
impl Clone for CronJobMeta
Source§fn clone(&self) -> CronJobMeta
fn clone(&self) -> CronJobMeta
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 CronJobMeta
impl Debug for CronJobMeta
Source§impl<'de> Deserialize<'de> for CronJobMeta
impl<'de> Deserialize<'de> for CronJobMeta
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 CronJobMeta
impl RefUnwindSafe for CronJobMeta
impl Send for CronJobMeta
impl Sync for CronJobMeta
impl Unpin for CronJobMeta
impl UnwindSafe for CronJobMeta
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