pub struct RulesetUnit {
pub name: Arc<str>,
pub when_schemas: Vec<String>,
pub tenants: Vec<TenantId>,
pub engine: UnitEngine,
pub field_set: RuleFieldSet,
}Expand description
One named ruleset unit: its name, schema bindings, engine, and the field set its rules reference after pipelines.
Fields§
§name: Arc<str>Ruleset name, stamped on every result the unit produces.
when_schemas: Vec<String>Schema names that admit an event to this unit. Empty means every event.
tenants: Vec<TenantId>Tenant ids admitted to this unit. Empty means every tenant.
engine: UnitEngineThe compiled engine for this unit.
field_set: RuleFieldSetPost-pipeline field set for this unit’s collection.
Auto Trait Implementations§
impl Forget for RulesetUnit
impl Freeze for RulesetUnit
impl Move for RulesetUnit
impl RefUnwindSafe for RulesetUnit
impl Send for RulesetUnit
impl Sync for RulesetUnit
impl Unpin for RulesetUnit
impl UnsafeUnpin for RulesetUnit
impl UnwindSafe for RulesetUnit
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