pub struct InlineCronJob {
pub schedule: String,
pub goal: String,
pub constraints: Vec<String>,
pub acceptance_criteria: Vec<String>,
pub toolchain: String,
pub priority: Priority,
pub enabled: bool,
}Expand description
Inline cron job definition in config.toml.
Fields§
§schedule: StringCron expression (e.g. “0 */6 * * *”).
goal: StringGoal description for the agent.
constraints: Vec<String>Constraints on agent behavior.
acceptance_criteria: Vec<String>Criteria that must be met for the job to be considered successful.
toolchain: StringToolchain preset name.
priority: PriorityJob priority.
enabled: boolWhether the job is active.
Trait Implementations§
Source§impl Clone for InlineCronJob
impl Clone for InlineCronJob
Source§fn clone(&self) -> InlineCronJob
fn clone(&self) -> InlineCronJob
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 InlineCronJob
impl Debug for InlineCronJob
Source§impl<'de> Deserialize<'de> for InlineCronJob
impl<'de> Deserialize<'de> for InlineCronJob
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 InlineCronJob
impl RefUnwindSafe for InlineCronJob
impl Send for InlineCronJob
impl Sync for InlineCronJob
impl Unpin for InlineCronJob
impl UnsafeUnpin for InlineCronJob
impl UnwindSafe for InlineCronJob
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