pub struct WorkflowDef {
pub vis: Visibility,
pub name: Ident,
pub generics: Generics,
pub fields: Vec<(Ident, Type, Option<Ident>)>,
pub start: Ident,
pub context: Type,
pub edges: Vec<(Ident, EdgeKind)>,
}Fields§
§vis: Visibility§name: Ident§generics: Generics§fields: Vec<(Ident, Type, Option<Ident>)>§start: Ident§context: Type§edges: Vec<(Ident, EdgeKind)>Trait Implementations§
Source§impl Clone for WorkflowDef
impl Clone for WorkflowDef
Source§fn clone(&self) -> WorkflowDef
fn clone(&self) -> WorkflowDef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorkflowDef
impl Debug for WorkflowDef
Source§impl Parse for WorkflowDef
impl Parse for WorkflowDef
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl !Send for WorkflowDef
impl !Sync for WorkflowDef
impl Freeze for WorkflowDef
impl RefUnwindSafe for WorkflowDef
impl Unpin for WorkflowDef
impl UnsafeUnpin for WorkflowDef
impl UnwindSafe for WorkflowDef
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