pub struct SnapshotTask {
pub task_spec: TaskSpec,
pub created_at: u64,
pub updated_at: Option<u64>,
pub canceled_at: Option<u64>,
}Expand description
A task in the snapshot.
Fields§
§task_spec: TaskSpecThe task specification.
created_at: u64The timestamp when the task was created (Unix epoch seconds).
updated_at: Option<u64>The timestamp when the task was last updated (Unix epoch seconds), if any.
canceled_at: Option<u64>The timestamp when the task was canceled (Unix epoch seconds), if canceled.
Trait Implementations§
Source§impl Clone for SnapshotTask
impl Clone for SnapshotTask
Source§fn clone(&self) -> SnapshotTask
fn clone(&self) -> SnapshotTask
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SnapshotTask
impl Debug for SnapshotTask
Source§impl<'de> Deserialize<'de> for SnapshotTask
impl<'de> Deserialize<'de> for SnapshotTask
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
Source§impl PartialEq for SnapshotTask
impl PartialEq for SnapshotTask
Source§impl Serialize for SnapshotTask
impl Serialize for SnapshotTask
impl Eq for SnapshotTask
impl StructuralPartialEq for SnapshotTask
Auto Trait Implementations§
impl Freeze for SnapshotTask
impl RefUnwindSafe for SnapshotTask
impl Send for SnapshotTask
impl Sync for SnapshotTask
impl Unpin for SnapshotTask
impl UnsafeUnpin for SnapshotTask
impl UnwindSafe for SnapshotTask
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