pub struct InteractionFlowDefinition {
pub protocol_version: u32,
pub flow_id: String,
pub start_step_id: String,
pub steps: HashMap<String, InteractionFlowStep>,
pub resolvers: HashMap<String, FlowValueResolver>,
pub lifecycle: FlowLifecycleHandlers,
}Fields§
§protocol_version: u32§flow_id: String§start_step_id: String§steps: HashMap<String, InteractionFlowStep>§resolvers: HashMap<String, FlowValueResolver>§lifecycle: FlowLifecycleHandlersImplementations§
Source§impl InteractionFlowDefinition
impl InteractionFlowDefinition
pub fn validate(&self) -> Result<(), FlowValidationError>
Trait Implementations§
Source§impl Clone for InteractionFlowDefinition
impl Clone for InteractionFlowDefinition
Source§fn clone(&self) -> InteractionFlowDefinition
fn clone(&self) -> InteractionFlowDefinition
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 InteractionFlowDefinition
impl Debug for InteractionFlowDefinition
Source§impl<'de> Deserialize<'de> for InteractionFlowDefinition
impl<'de> Deserialize<'de> for InteractionFlowDefinition
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
impl StructuralPartialEq for InteractionFlowDefinition
Auto Trait Implementations§
impl Freeze for InteractionFlowDefinition
impl RefUnwindSafe for InteractionFlowDefinition
impl Send for InteractionFlowDefinition
impl Sync for InteractionFlowDefinition
impl Unpin for InteractionFlowDefinition
impl UnsafeUnpin for InteractionFlowDefinition
impl UnwindSafe for InteractionFlowDefinition
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