pub struct Analysis {
pub process: String,
pub steps: Vec<Step>,
pub parameters: Vec<Parameter>,
}Expand description
What a plan says about itself, read from its graph.
Fields§
§process: StringThe ik:Process node: urn:plan:{id}.
steps: Vec<Step>Every step in the graph, by IRI.
parameters: Vec<Parameter>Its declared parameters, by name.
Implementations§
Source§impl Analysis
impl Analysis
Sourcepub fn mutates(&self) -> bool
pub fn mutates(&self) -> bool
Whether the plan is a WRITE: any Sink or Delete step ANYWHERE in the graph,
including one the result does not depend on. Conservative on purpose: deciding from
the steps a run reaches would make the answer depend on the executor’s reachability
rule, and calling a read a write only costs a run record.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Analysis
impl<'de> Deserialize<'de> for Analysis
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 Eq for Analysis
impl StructuralPartialEq for Analysis
Auto Trait Implementations§
impl Freeze for Analysis
impl RefUnwindSafe for Analysis
impl Send for Analysis
impl Sync for Analysis
impl Unpin for Analysis
impl UnsafeUnpin for Analysis
impl UnwindSafe for Analysis
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