pub struct TaskSummary {
pub id: String,
pub run_policy: RunPolicy,
pub constraints: TaskConstraints,
pub metadata: TaskMetadata,
pub created_at: u64,
pub updated_at: Option<u64>,
pub parent_task_id: Option<String>,
}Expand description
A stable task summary returned by the tasks list endpoint.
Fields§
§id: StringTask identifier as a stable string.
run_policy: RunPolicyTask run policy.
constraints: TaskConstraintsTask constraints.
metadata: TaskMetadataTask metadata including priority.
created_at: u64Task creation timestamp derived from the WAL event.
updated_at: Option<u64>Task update timestamp (null until update events exist).
parent_task_id: Option<String>Parent task identifier, if this task is a child in a hierarchy.
Trait Implementations§
Source§impl Clone for TaskSummary
impl Clone for TaskSummary
Source§fn clone(&self) -> TaskSummary
fn clone(&self) -> TaskSummary
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 TaskSummary
impl Debug for TaskSummary
Auto Trait Implementations§
impl Freeze for TaskSummary
impl RefUnwindSafe for TaskSummary
impl Send for TaskSummary
impl Sync for TaskSummary
impl Unpin for TaskSummary
impl UnsafeUnpin for TaskSummary
impl UnwindSafe for TaskSummary
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