pub struct StateRepeatUntilCondition { /* private fields */ }Expand description
The exact output predicate that stops repetition of a whole state.
Implementations§
Source§impl StateRepeatUntilCondition
impl StateRepeatUntilCondition
pub fn new( step_id: StepId, output_field: StepOutputField, equals: Value, ) -> Self
pub fn step_id(&self) -> &StepId
pub fn output_field(&self) -> &StepOutputField
pub fn equals(&self) -> &Value
pub fn is_satisfied(&self, record: &StepExecutionRecord) -> bool
Trait Implementations§
Source§impl Clone for StateRepeatUntilCondition
impl Clone for StateRepeatUntilCondition
Source§fn clone(&self) -> StateRepeatUntilCondition
fn clone(&self) -> StateRepeatUntilCondition
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 StateRepeatUntilCondition
impl Debug for StateRepeatUntilCondition
Source§impl<'de> Deserialize<'de> for StateRepeatUntilCondition
impl<'de> Deserialize<'de> for StateRepeatUntilCondition
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 Eq for StateRepeatUntilCondition
impl StructuralPartialEq for StateRepeatUntilCondition
Auto Trait Implementations§
impl Freeze for StateRepeatUntilCondition
impl RefUnwindSafe for StateRepeatUntilCondition
impl Send for StateRepeatUntilCondition
impl Sync for StateRepeatUntilCondition
impl Unpin for StateRepeatUntilCondition
impl UnsafeUnpin for StateRepeatUntilCondition
impl UnwindSafe for StateRepeatUntilCondition
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