pub enum ValidationIssue {
EmptyLabels {
rule_id: usize,
},
InvalidRetention {
rule_id: usize,
retention: String,
},
InvalidAction {
rule_id: usize,
action: String,
},
DuplicateLabel {
label: String,
},
}Expand description
An issue found during rules validation.
Variants§
EmptyLabels
A rule has no labels configured.
InvalidRetention
A rule has a retention string that cannot be parsed as a MessageAge.
Fields
InvalidAction
A rule has an action string that cannot be parsed as an EolAction.
DuplicateLabel
The same label appears in more than one rule.
Trait Implementations§
Source§impl Debug for ValidationIssue
impl Debug for ValidationIssue
Source§impl Display for ValidationIssue
impl Display for ValidationIssue
Source§impl PartialEq for ValidationIssue
impl PartialEq for ValidationIssue
impl StructuralPartialEq for ValidationIssue
Auto Trait Implementations§
impl Freeze for ValidationIssue
impl RefUnwindSafe for ValidationIssue
impl Send for ValidationIssue
impl Sync for ValidationIssue
impl Unpin for ValidationIssue
impl UnsafeUnpin for ValidationIssue
impl UnwindSafe for ValidationIssue
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