pub struct TaskDetails {
pub id: TaskId,
pub label: TaskLabel,
pub recurrence: Arc<RwLock<Recurrence>>,
pub status: TaskStatus,
pub created_at: NaiveDateTime,
}Expand description
Struct used to return scheduled tasks details from a scheduler
Fields§
§id: TaskId§label: TaskLabel§recurrence: Arc<RwLock<Recurrence>>§status: TaskStatus§created_at: NaiveDateTimeTrait Implementations§
Source§impl Clone for TaskDetails
impl Clone for TaskDetails
Source§fn clone(&self) -> TaskDetails
fn clone(&self) -> TaskDetails
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 moreAuto Trait Implementations§
impl Freeze for TaskDetails
impl RefUnwindSafe for TaskDetails
impl Send for TaskDetails
impl Sync for TaskDetails
impl Unpin for TaskDetails
impl UnsafeUnpin for TaskDetails
impl UnwindSafe for TaskDetails
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