pub struct SeverityBand {
pub min: u32,
pub max: u32,
pub label: &'static str,
pub interpretation: &'static str,
}Expand description
A severity band [min, max] (inclusive) over the total score, with a non-diagnostic
interpretation.
Fields§
§min: u32§max: u32§label: &'static str§interpretation: &'static strTrait Implementations§
Source§impl Clone for SeverityBand
impl Clone for SeverityBand
impl Copy for SeverityBand
Source§impl Debug for SeverityBand
impl Debug for SeverityBand
impl Eq for SeverityBand
Source§impl PartialEq for SeverityBand
impl PartialEq for SeverityBand
impl StructuralPartialEq for SeverityBand
Auto Trait Implementations§
impl Freeze for SeverityBand
impl RefUnwindSafe for SeverityBand
impl Send for SeverityBand
impl Sync for SeverityBand
impl Unpin for SeverityBand
impl UnsafeUnpin for SeverityBand
impl UnwindSafe for SeverityBand
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