#[non_exhaustive]pub struct StepGuard {
pub label: String,
pub formula: Formula,
}Expand description
One guard condition inside a step predicate (N11, N14).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.label: StringSource-level condition label (or trigger name for SQL imports).
formula: FormulaGuard formula over the step’s parameters.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for StepGuard
impl Freeze for StepGuardwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<FormulaNode> is !null: Freeze,
PhantomData<ArcInner<FormulaNode>>: Freeze,
impl Move for StepGuard
impl RefUnwindSafe for StepGuard
impl Send for StepGuard
impl Sync for StepGuard
impl Unpin for StepGuard
impl UnsafeUnpin for StepGuardwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<FormulaNode> is !null: UnsafeUnpin,
PhantomData<ArcInner<FormulaNode>>: UnsafeUnpin,
impl UnwindSafe for StepGuard
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