pub struct HermesCronJob {
pub schedule: String,
pub name: String,
pub command: String,
pub once: bool,
}Expand description
Hermes one-shot cron job payload.
Fields§
§schedule: StringCron schedule in M H D M W format.
name: StringStable job name.
command: StringShell command to execute.
once: boolWhether Hermes should remove the job after it runs.
Trait Implementations§
Source§impl Clone for HermesCronJob
impl Clone for HermesCronJob
Source§fn clone(&self) -> HermesCronJob
fn clone(&self) -> HermesCronJob
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 moreSource§impl Debug for HermesCronJob
impl Debug for HermesCronJob
Source§impl<'de> Deserialize<'de> for HermesCronJob
impl<'de> Deserialize<'de> for HermesCronJob
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 Eq for HermesCronJob
Source§impl PartialEq for HermesCronJob
impl PartialEq for HermesCronJob
Source§impl Serialize for HermesCronJob
impl Serialize for HermesCronJob
impl StructuralPartialEq for HermesCronJob
Auto Trait Implementations§
impl Freeze for HermesCronJob
impl RefUnwindSafe for HermesCronJob
impl Send for HermesCronJob
impl Sync for HermesCronJob
impl Unpin for HermesCronJob
impl UnsafeUnpin for HermesCronJob
impl UnwindSafe for HermesCronJob
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