pub struct SelectOutcome {
pub plan_id: PlanId,
pub project: String,
pub name: String,
pub variant: String,
pub previous: Option<String>,
pub changed: bool,
pub carried: Vec<String>,
pub released_locks: Vec<String>,
pub baseline_taken: Option<BaselineTaken>,
}Expand description
Result of crate::ports::Planner::select_variant. Selection does not
change any graph, so this is a dedicated summary rather than a
crate::revise::RevisionDiff.
Fields§
§plan_id: PlanId§project: String§name: String§variant: StringThe variant now selected (the one plan_id belongs to).
previous: Option<String>The previously selected variant; None when the line had none.
changed: boolFalse when variant was already selected (a no-op).
carried: Vec<String>Sorted ids whose Complete status was copied from the previously
selected variant (identical canonical definition in both).
released_locks: Vec<String>Sorted ids of the previous variant’s live locks released by a forced selection.
baseline_taken: Option<BaselineTaken>A baseline taken automatically because the newly selected variant had progress but no baseline (auto mode); absent otherwise.
Trait Implementations§
Source§impl Clone for SelectOutcome
impl Clone for SelectOutcome
Source§impl Debug for SelectOutcome
impl Debug for SelectOutcome
Source§impl<'de> Deserialize<'de> for SelectOutcome
impl<'de> Deserialize<'de> for SelectOutcome
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 SelectOutcome
impl PartialEq for SelectOutcome
Source§impl Serialize for SelectOutcome
impl Serialize for SelectOutcome
impl StructuralPartialEq for SelectOutcome
Auto Trait Implementations§
impl Freeze for SelectOutcome
impl RefUnwindSafe for SelectOutcome
impl Send for SelectOutcome
impl Sync for SelectOutcome
impl Unpin for SelectOutcome
impl UnsafeUnpin for SelectOutcome
impl UnwindSafe for SelectOutcome
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.