pub struct GoalAst {
pub id: String,
pub name: String,
pub description: String,
pub group: GoalGroupAst,
pub activate_when: Option<GoalCondAst>,
pub failed_when: Option<GoalCondAst>,
pub finished_when: GoalCondAst,
pub src_line: usize,
}Expand description
High-level representation of a single goal definition in the DSL.
Fields§
§id: String§name: String§description: String§group: GoalGroupAst§activate_when: Option<GoalCondAst>§failed_when: Option<GoalCondAst>§finished_when: GoalCondAst§src_line: usizeTrait Implementations§
impl StructuralPartialEq for GoalAst
Auto Trait Implementations§
impl Freeze for GoalAst
impl RefUnwindSafe for GoalAst
impl Send for GoalAst
impl Sync for GoalAst
impl Unpin for GoalAst
impl UnwindSafe for GoalAst
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