pub struct CronJob {Show 21 fields
pub id: String,
pub name: String,
pub prompt: String,
pub skills: Vec<String>,
pub skill: Option<String>,
pub model: Option<String>,
pub provider: Option<String>,
pub base_url: Option<String>,
pub schedule: Schedule,
pub schedule_display: String,
pub repeat: RepeatConfig,
pub enabled: bool,
pub state: String,
pub paused_at: Option<String>,
pub paused_reason: Option<String>,
pub created_at: String,
pub next_run_at: Option<String>,
pub last_run_at: Option<String>,
pub last_status: Option<String>,
pub last_error: Option<String>,
pub deliver: Option<String>,
}Expand description
Cron job
Fields§
§id: String§name: String§prompt: String§skills: Vec<String>§skill: Option<String>§model: Option<String>§provider: Option<String>§base_url: Option<String>§schedule: Schedule§schedule_display: String§repeat: RepeatConfig§enabled: bool§state: String§paused_at: Option<String>§paused_reason: Option<String>§created_at: String§next_run_at: Option<String>§last_run_at: Option<String>§last_status: Option<String>§last_error: Option<String>§deliver: Option<String>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CronJob
impl<'de> Deserialize<'de> for CronJob
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 CronJob
impl RefUnwindSafe for CronJob
impl Send for CronJob
impl Sync for CronJob
impl Unpin for CronJob
impl UnsafeUnpin for CronJob
impl UnwindSafe for CronJob
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