pub struct CronJobUpdate {
pub name: Option<String>,
pub schedule: Option<String>,
pub goal: Option<String>,
pub constraints: Option<Vec<String>>,
pub acceptance_criteria: Option<Vec<String>>,
pub toolchain: Option<String>,
pub priority: Option<Priority>,
pub enabled: Option<bool>,
}Expand description
Update fields for an existing cron job.
Fields§
§name: Option<String>New name.
schedule: Option<String>New cron expression.
goal: Option<String>New goal description.
constraints: Option<Vec<String>>New constraints.
acceptance_criteria: Option<Vec<String>>New acceptance criteria.
toolchain: Option<String>New toolchain preset.
priority: Option<Priority>New priority.
enabled: Option<bool>Enable or disable.
Trait Implementations§
Source§impl Debug for CronJobUpdate
impl Debug for CronJobUpdate
Source§impl Default for CronJobUpdate
impl Default for CronJobUpdate
Source§fn default() -> CronJobUpdate
fn default() -> CronJobUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CronJobUpdate
impl<'de> Deserialize<'de> for CronJobUpdate
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 CronJobUpdate
impl RefUnwindSafe for CronJobUpdate
impl Send for CronJobUpdate
impl Sync for CronJobUpdate
impl Unpin for CronJobUpdate
impl UnsafeUnpin for CronJobUpdate
impl UnwindSafe for CronJobUpdate
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