pub struct VariantSummary {
pub variant: String,
pub plan_id: PlanId,
pub selected: bool,
pub archived: bool,
pub head_revision: u32,
pub source_path: Option<String>,
pub complete: usize,
pub total: usize,
pub plan_complete: bool,
pub makespan: f32,
}Expand description
One variant of a plan line, as reported by
crate::ports::Planner::list_plans.
Fields§
§variant: String§plan_id: PlanId§selected: boolTrue for the line’s one executable variant.
archived: bool§head_revision: u32§source_path: Option<String>§complete: usizeDeliverables Complete.
total: usizeDeliverables in the head graph.
plan_complete: boolTrue when every deliverable is Complete (vacuously for none).
makespan: f32Head graph’s CPM makespan in hours.
Trait Implementations§
Source§impl Clone for VariantSummary
impl Clone for VariantSummary
Source§impl Debug for VariantSummary
impl Debug for VariantSummary
Source§impl<'de> Deserialize<'de> for VariantSummary
impl<'de> Deserialize<'de> for VariantSummary
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 VariantSummary
impl PartialEq for VariantSummary
Source§impl Serialize for VariantSummary
impl Serialize for VariantSummary
impl StructuralPartialEq for VariantSummary
Auto Trait Implementations§
impl Freeze for VariantSummary
impl RefUnwindSafe for VariantSummary
impl Send for VariantSummary
impl Sync for VariantSummary
impl Unpin for VariantSummary
impl UnsafeUnpin for VariantSummary
impl UnwindSafe for VariantSummary
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
impl<T> IntoToolOutput for Twhere
T: Serialize + 'static,
Source§fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
fn into_tool_output(self) -> Result<ToolOutput, ToolExecutionError>
Convert this value without routing structured data through a string.