pub struct ViolationCluster {
pub label: String,
pub count: u32,
pub severity: String,
pub time_pattern: Option<String>,
pub context_pattern: Option<String>,
}Expand description
A cluster of related violations.
Fields§
§label: StringCluster label.
count: u32Violation count in this cluster.
severity: StringCommon severity.
time_pattern: Option<String>Common time pattern (e.g., “weekday mornings”).
context_pattern: Option<String>Common context.
Trait Implementations§
Source§impl Clone for ViolationCluster
impl Clone for ViolationCluster
Source§fn clone(&self) -> ViolationCluster
fn clone(&self) -> ViolationCluster
Returns a duplicate of the value. Read more
1.0.0 · 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 ViolationCluster
impl Debug for ViolationCluster
Source§impl<'de> Deserialize<'de> for ViolationCluster
impl<'de> Deserialize<'de> for ViolationCluster
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ViolationCluster
impl RefUnwindSafe for ViolationCluster
impl Send for ViolationCluster
impl Sync for ViolationCluster
impl Unpin for ViolationCluster
impl UnsafeUnpin for ViolationCluster
impl UnwindSafe for ViolationCluster
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