pub struct RuleSet {
pub id: String,
pub name: String,
pub description: Option<String>,
pub rules: Vec<Rule>,
pub version: u64,
pub created_at: u64,
pub updated_at: u64,
pub tags: Vec<String>,
}Expand description
Rule set for a node (collection of rules with metadata)
Fields§
§id: StringRule set ID
name: StringRule set name
description: Option<String>Description
rules: Vec<Rule>Rules in this set
version: u64Version
created_at: u64Created timestamp
updated_at: u64Updated timestamp
Tags
Implementations§
Trait Implementations§
impl StructuralPartialEq for RuleSet
Auto Trait Implementations§
impl Freeze for RuleSet
impl RefUnwindSafe for RuleSet
impl Send for RuleSet
impl Sync for RuleSet
impl Unpin for RuleSet
impl UnsafeUnpin for RuleSet
impl UnwindSafe for RuleSet
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