pub struct Violation {
pub point_index: usize,
pub violation_type: ViolationType,
}Expand description
A violation detected on the chart.
Associates a specific point index with the type of violation observed.
Fields§
§point_index: usizeThe index of the point where the violation was detected.
violation_type: ViolationTypeThe type of violation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Violation
impl RefUnwindSafe for Violation
impl Send for Violation
impl Sync for Violation
impl Unpin for Violation
impl UnwindSafe for Violation
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