pub struct PreparedRule<O, S, V> {
pub rule_id: RuleId,
pub query: ResolvedQuery<O, S, V>,
pub rhs_locals: RhsLocalShape,
pub actions: Vec<CompiledAction<O, V>>,
pub ruleset: Option<RulesetId>,
}Fields§
§rule_id: RuleId§query: ResolvedQuery<O, S, V>§rhs_locals: RhsLocalShape§actions: Vec<CompiledAction<O, V>>§ruleset: Option<RulesetId>The ruleset this rule belongs to (:ruleset name), or None for the default one.
The saturation driver runs the rules whose ruleset equals the one asked for.
Trait Implementations§
Auto Trait Implementations§
impl<O, S, V> Freeze for PreparedRule<O, S, V>
impl<O, S, V> RefUnwindSafe for PreparedRule<O, S, V>
impl<O, S, V> Send for PreparedRule<O, S, V>
impl<O, S, V> Sync for PreparedRule<O, S, V>
impl<O, S, V> Unpin for PreparedRule<O, S, V>
impl<O, S, V> UnsafeUnpin for PreparedRule<O, S, V>
impl<O, S, V> UnwindSafe for PreparedRule<O, S, V>
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