pub struct ReadyUnit {
pub id: String,
pub title: String,
pub priority: u8,
pub critical_path_weight: u32,
pub paths: Vec<String>,
pub produces: Vec<String>,
pub requires: Vec<String>,
pub dependencies: Vec<String>,
pub parent: Option<String>,
pub model: Option<String>,
}Expand description
A unit that is ready to be dispatched.
Fields§
§id: String§title: String§priority: u8Lower is higher priority (1 = P1, etc.).
critical_path_weight: u32Downstream dependency weight for critical-path scheduling. Higher weight = more downstream units blocked = schedule first.
paths: Vec<String>Files this unit will modify (for conflict detection).
produces: Vec<String>Artifacts this unit produces.
requires: Vec<String>Artifacts this unit requires from siblings.
dependencies: Vec<String>Explicit dependency IDs.
parent: Option<String>Parent unit ID (for sibling produces/requires resolution).
model: Option<String>Per-unit model override from frontmatter.
Trait Implementations§
impl StructuralPartialEq for ReadyUnit
Auto Trait Implementations§
impl Freeze for ReadyUnit
impl RefUnwindSafe for ReadyUnit
impl Send for ReadyUnit
impl Sync for ReadyUnit
impl Unpin for ReadyUnit
impl UnsafeUnpin for ReadyUnit
impl UnwindSafe for ReadyUnit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more