pub enum Decl {
Predicate {
local: String,
params: Vec<Param>,
ret: String,
doc: Option<String>,
deprecation: Option<Deprecation>,
},
Action {
local: String,
params: Vec<Param>,
ret: String,
doc: Option<String>,
deprecation: Option<Deprecation>,
},
Alias {
local: String,
target: String,
},
Workflow {
local: String,
params: Vec<Param>,
steps: Vec<Step>,
ret: Option<String>,
doc: Option<String>,
},
}Variants§
Predicate
Fields
§
deprecation: Option<Deprecation>Action
Fields
§
deprecation: Option<Deprecation>Alias
Workflow
§20: ordered plan of action groups; groups run in sequence, actions inside a group run in parallel.
Trait Implementations§
impl StructuralPartialEq for Decl
Auto Trait Implementations§
impl Freeze for Decl
impl RefUnwindSafe for Decl
impl Send for Decl
impl Sync for Decl
impl Unpin for Decl
impl UnsafeUnpin for Decl
impl UnwindSafe for Decl
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