pub struct BasisStatus {
pub successor: WorkItemId,
pub successor_key: String,
pub dependency: DependencyId,
pub predecessor: WorkItemId,
pub predecessor_key: String,
pub basis: DependencyBasis,
pub state: BasisState,
pub current_attempt: Option<u32>,
pub enforced: bool,
}Expand description
A successor’s effective basis on one provisional edge, with its derived state.
Fields§
§successor: WorkItemIdWork whose execution relies on the attempt.
successor_key: StringHuman-readable successor key.
dependency: DependencyIdProvisional edge carrying the basis.
predecessor: WorkItemIdWork that made the attempt.
predecessor_key: StringHuman-readable predecessor key.
basis: DependencyBasisThe immutable recorded reference.
state: BasisStateDerived from the predecessor’s attempt record.
current_attempt: Option<u32>Predecessor’s pending or verified attempt a revalidation may name, if any.
enforced: boolWhether the edge gates execution; a waived edge’s basis is context only.
Implementations§
Trait Implementations§
Source§impl Clone for BasisStatus
impl Clone for BasisStatus
Source§impl Debug for BasisStatus
impl Debug for BasisStatus
Source§impl<'de> Deserialize<'de> for BasisStatus
impl<'de> Deserialize<'de> for BasisStatus
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 BasisStatus
impl PartialEq for BasisStatus
Source§impl Serialize for BasisStatus
impl Serialize for BasisStatus
impl StructuralPartialEq for BasisStatus
Auto Trait Implementations§
impl Freeze for BasisStatus
impl RefUnwindSafe for BasisStatus
impl Send for BasisStatus
impl Sync for BasisStatus
impl Unpin for BasisStatus
impl UnsafeUnpin for BasisStatus
impl UnwindSafe for BasisStatus
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