#[non_exhaustive]pub enum DetailLevel {
Compact,
Detailed,
}Expand description
Render detail mode for reports.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Compact
Compact summary with aggregated counts and bounded finding samples.
Detailed
Full detail view for every finding provided by the report data, with locations, rule IDs, and remedies.
Trait Implementations§
Source§impl Clone for DetailLevel
impl Clone for DetailLevel
Source§fn clone(&self) -> DetailLevel
fn clone(&self) -> DetailLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DetailLevel
Source§impl Debug for DetailLevel
impl Debug for DetailLevel
Source§impl Default for DetailLevel
impl Default for DetailLevel
Source§fn default() -> DetailLevel
fn default() -> DetailLevel
Returns the “default value” for a type. Read more
impl Eq for DetailLevel
Source§impl PartialEq for DetailLevel
impl PartialEq for DetailLevel
impl StructuralPartialEq for DetailLevel
Auto Trait Implementations§
impl Freeze for DetailLevel
impl RefUnwindSafe for DetailLevel
impl Send for DetailLevel
impl Sync for DetailLevel
impl Unpin for DetailLevel
impl UnsafeUnpin for DetailLevel
impl UnwindSafe for DetailLevel
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