pub struct ActionDescriptor {
pub id: String,
pub summary: String,
pub required_fields: Vec<FieldDescriptor>,
pub optional_fields: Vec<FieldDescriptor>,
pub example_dsl: String,
}Fields§
§id: Stringdata.actionId value.
summary: StringOne-line human description.
required_fields: Vec<FieldDescriptor>Fields the flow-graph-generator MUST emit for this action.
optional_fields: Vec<FieldDescriptor>Fields the flow-graph-generator MAY emit. Defaults are documented in
description.
example_dsl: StringCanonical DSL snippet that the generator should pattern-match. One
example per action is enough; multi-step compositions live in
docs/dsl/examples.md instead.
Trait Implementations§
Source§impl Clone for ActionDescriptor
impl Clone for ActionDescriptor
Source§fn clone(&self) -> ActionDescriptor
fn clone(&self) -> ActionDescriptor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActionDescriptor
impl Debug for ActionDescriptor
Source§impl<'de> Deserialize<'de> for ActionDescriptor
impl<'de> Deserialize<'de> for ActionDescriptor
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
Auto Trait Implementations§
impl Freeze for ActionDescriptor
impl RefUnwindSafe for ActionDescriptor
impl Send for ActionDescriptor
impl Sync for ActionDescriptor
impl Unpin for ActionDescriptor
impl UnsafeUnpin for ActionDescriptor
impl UnwindSafe for ActionDescriptor
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