pub struct PracticeRuleSpec {
pub id: PracticeRuleId,
pub kind: PracticeRuleKind,
pub expected_fact: String,
pub parameters: Vec<PracticeRuleParameter>,
}Expand description
Public inspectable description of one practice rule.
Fields§
§id: PracticeRuleIdStable rule identity.
kind: PracticeRuleKindBuilt-in rule kind.
expected_fact: StringExpected fact enforced by the rule.
parameters: Vec<PracticeRuleParameter>Inspectable policy parameters.
Trait Implementations§
Source§impl Clone for PracticeRuleSpec
impl Clone for PracticeRuleSpec
Source§fn clone(&self) -> PracticeRuleSpec
fn clone(&self) -> PracticeRuleSpec
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 PracticeRuleSpec
impl Debug for PracticeRuleSpec
impl Eq for PracticeRuleSpec
Source§impl PartialEq for PracticeRuleSpec
impl PartialEq for PracticeRuleSpec
impl StructuralPartialEq for PracticeRuleSpec
Auto Trait Implementations§
impl Freeze for PracticeRuleSpec
impl RefUnwindSafe for PracticeRuleSpec
impl Send for PracticeRuleSpec
impl Sync for PracticeRuleSpec
impl Unpin for PracticeRuleSpec
impl UnsafeUnpin for PracticeRuleSpec
impl UnwindSafe for PracticeRuleSpec
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