pub struct PlanCandidate {
pub ir_version: String,
pub name: String,
pub entry: String,
pub components: Vec<ComponentContract>,
pub effects: Vec<EffectContract>,
pub definitions: Vec<Definition>,
pub metadata: BTreeMap<String, String>,
}Expand description
An unsealed, language-neutral semantic plan.
Fields§
§ir_version: StringIR version.
name: StringHuman-readable plan name.
entry: StringEntry definition ID.
components: Vec<ComponentContract>Abstract component contracts.
effects: Vec<EffectContract>Abstract effect contracts.
definitions: Vec<Definition>Structured definitions.
metadata: BTreeMap<String, String>Non-semantic author metadata. Keys and values are still content-addressed.
Implementations§
Trait Implementations§
Source§impl Clone for PlanCandidate
impl Clone for PlanCandidate
Source§impl Debug for PlanCandidate
impl Debug for PlanCandidate
Source§impl<'de> Deserialize<'de> for PlanCandidate
impl<'de> Deserialize<'de> for PlanCandidate
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 PlanCandidate
impl PartialEq for PlanCandidate
Source§impl Serialize for PlanCandidate
impl Serialize for PlanCandidate
impl StructuralPartialEq for PlanCandidate
Auto Trait Implementations§
impl Freeze for PlanCandidate
impl RefUnwindSafe for PlanCandidate
impl Send for PlanCandidate
impl Sync for PlanCandidate
impl Unpin for PlanCandidate
impl UnsafeUnpin for PlanCandidate
impl UnwindSafe for PlanCandidate
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