pub enum GraphEdit {
RemoveEdge {
from: String,
to: String,
},
AddEdge {
from: String,
to: String,
consumes: Option<String>,
},
SetEffort {
id: String,
hours: f32,
},
SetDuration {
id: String,
hours: Option<f32>,
},
SetEstimate {
id: String,
estimate: Option<Estimate>,
},
SetMetadata {
id: String,
key: String,
value: Value,
},
RemoveDeliverable {
id: String,
},
AddDeliverable {
deliverable: Deliverable,
},
}Expand description
One structured mutation of a PlanGraph.
Serialised with an op tag (snake_case variant names) and strict
unknown-field rejection so a typo in an edit fails loudly rather than
silently no-op’ing.
Variants§
RemoveEdge
Remove prerequisite from from deliverable to.
AddEdge
Make deliverable to depend on deliverable from.
SetEffort
Set a deliverable’s estimated effort in hours.
SetDuration
Set (or clear) a deliverable’s calendar duration in hours.
SetEstimate
Set (or clear) a deliverable’s three-point estimate.
SetMetadata
Set one metadata key on a deliverable.
RemoveDeliverable
Remove a deliverable entirely.
AddDeliverable
Append a new deliverable.
Fields
§
deliverable: DeliverableTrait Implementations§
Source§impl<'de> Deserialize<'de> for GraphEdit
impl<'de> Deserialize<'de> for GraphEdit
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
impl StructuralPartialEq for GraphEdit
Auto Trait Implementations§
impl Freeze for GraphEdit
impl RefUnwindSafe for GraphEdit
impl Send for GraphEdit
impl Sync for GraphEdit
impl Unpin for GraphEdit
impl UnsafeUnpin for GraphEdit
impl UnwindSafe for GraphEdit
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.