pub struct SnapshotDependencyDeclaration {
pub task_id: TaskId,
pub depends_on: Vec<TaskId>,
pub declared_at: u64,
}Expand description
Snapshot representation of a dependency declaration.
Records that a task’s promotion is gated on the successful completion
of all prerequisite tasks listed in depends_on.
Fields§
§task_id: TaskIdThe task whose promotion is gated.
depends_on: Vec<TaskId>The prerequisite task identifiers (must all complete first).
declared_at: u64Timestamp when the declaration was captured (snapshot time).
Trait Implementations§
Source§impl Clone for SnapshotDependencyDeclaration
impl Clone for SnapshotDependencyDeclaration
Source§fn clone(&self) -> SnapshotDependencyDeclaration
fn clone(&self) -> SnapshotDependencyDeclaration
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<'de> Deserialize<'de> for SnapshotDependencyDeclaration
impl<'de> Deserialize<'de> for SnapshotDependencyDeclaration
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 SnapshotDependencyDeclaration
impl PartialEq for SnapshotDependencyDeclaration
Source§fn eq(&self, other: &SnapshotDependencyDeclaration) -> bool
fn eq(&self, other: &SnapshotDependencyDeclaration) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SnapshotDependencyDeclaration
impl StructuralPartialEq for SnapshotDependencyDeclaration
Auto Trait Implementations§
impl Freeze for SnapshotDependencyDeclaration
impl RefUnwindSafe for SnapshotDependencyDeclaration
impl Send for SnapshotDependencyDeclaration
impl Sync for SnapshotDependencyDeclaration
impl Unpin for SnapshotDependencyDeclaration
impl UnsafeUnpin for SnapshotDependencyDeclaration
impl UnwindSafe for SnapshotDependencyDeclaration
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