pub struct CronCreateRequest {
pub name: String,
pub prompt: String,
pub schedule_type: Option<String>,
pub schedule_expr: String,
pub channel: Option<String>,
}Expand description
Request body for creating a cron task.
Fields§
§name: String§prompt: String§schedule_type: Option<String>Defaults to "cron" if omitted.
schedule_expr: String§channel: Option<String>Trait Implementations§
Source§impl Debug for CronCreateRequest
impl Debug for CronCreateRequest
Auto Trait Implementations§
impl Freeze for CronCreateRequest
impl RefUnwindSafe for CronCreateRequest
impl Send for CronCreateRequest
impl Sync for CronCreateRequest
impl Unpin for CronCreateRequest
impl UnsafeUnpin for CronCreateRequest
impl UnwindSafe for CronCreateRequest
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