pub struct WorkflowStateExpectation {
pub workflow: WorkflowKey,
pub path: String,
pub equals: Value,
pub ignore_case: bool,
}Expand description
A value some case of a workflow must hold at the end.
Fields§
§workflow: WorkflowKeyThe workflow.
path: StringJSON Pointer into a case’s state.
equals: ValueThe value that path must hold in at least one case.
ignore_case: boolCompare strings without regard to case.
Trait Implementations§
Source§impl Clone for WorkflowStateExpectation
impl Clone for WorkflowStateExpectation
Source§impl Debug for WorkflowStateExpectation
impl Debug for WorkflowStateExpectation
Source§impl<'de> Deserialize<'de> for WorkflowStateExpectation
impl<'de> Deserialize<'de> for WorkflowStateExpectation
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
Source§impl PartialEq for WorkflowStateExpectation
impl PartialEq for WorkflowStateExpectation
Source§impl Serialize for WorkflowStateExpectation
impl Serialize for WorkflowStateExpectation
impl StructuralPartialEq for WorkflowStateExpectation
Auto Trait Implementations§
impl Freeze for WorkflowStateExpectation
impl RefUnwindSafe for WorkflowStateExpectation
impl Send for WorkflowStateExpectation
impl Sync for WorkflowStateExpectation
impl Unpin for WorkflowStateExpectation
impl UnsafeUnpin for WorkflowStateExpectation
impl UnwindSafe for WorkflowStateExpectation
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