pub struct Task {
pub task_id: u64,
pub tn_id: TnId,
pub kind: Box<str>,
pub status: char,
pub created_at: Timestamp,
pub next_at: Option<Timestamp>,
pub input: Box<str>,
pub output: Box<str>,
pub deps: Box<[u64]>,
pub retry: Option<Box<str>>,
pub cron: Option<Box<str>>,
}Fields§
§task_id: u64§tn_id: TnId§kind: Box<str>§status: char§created_at: Timestamp§next_at: Option<Timestamp>§input: Box<str>§output: Box<str>§deps: Box<[u64]>§retry: Option<Box<str>>§cron: Option<Box<str>>Auto Trait Implementations§
impl Freeze for Task
impl RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnsafeUnpin for Task
impl UnwindSafe for Task
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