pub struct Reached {
pub case_state: Vec<StateExpectation>,
pub workflow_state: Vec<WorkflowStateExpectation>,
pub case_count: Vec<CaseCountExpectation>,
}Expand description
The state a goal reached leaves behind.
Fields§
§case_state: Vec<StateExpectation>What a seeded case holds.
workflow_state: Vec<WorkflowStateExpectation>What some case of a workflow holds, seeded or created.
case_count: Vec<CaseCountExpectation>How many cases of a workflow exist.
Implementations§
Source§impl Reached
impl Reached
Sourcepub fn is_empty(&self) -> bool
pub fn is_empty(&self) -> bool
Whether it says nothing, which would score every conversation reached.
Sourcepub fn expectations(&self) -> Expectations
pub fn expectations(&self) -> Expectations
As the expectations the deterministic checks read.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Reached
impl<'de> Deserialize<'de> for Reached
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 Reached
Auto Trait Implementations§
impl Freeze for Reached
impl RefUnwindSafe for Reached
impl Send for Reached
impl Sync for Reached
impl Unpin for Reached
impl UnsafeUnpin for Reached
impl UnwindSafe for Reached
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