pub struct Directive {
pub target: String,
pub level: AuditSeverity,
}Expand description
One module=level rule.
Fields§
§target: StringModule prefix this applies to. Empty means the default for everything.
level: AuditSeverityMinimum severity admitted for that prefix.
Trait Implementations§
impl Eq for Directive
impl StructuralPartialEq for Directive
Auto Trait Implementations§
impl Forget for Directive
impl Freeze for Directive
impl Move for Directive
impl RefUnwindSafe for Directive
impl Send for Directive
impl Sync for Directive
impl Unpin for Directive
impl UnsafeUnpin for Directive
impl UnwindSafe for Directive
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