pub struct Smell {
pub kind: SmellKind,
pub severity: Severity,
pub location: String,
pub identifier: String,
pub message: String,
}Expand description
A single detected code smell.
Fields§
§kind: SmellKindKind of smell
severity: SeveritySeverity level
location: StringLocation in the project (e.g., “Program:Main”)
identifier: StringThe identifier involved (tag name, routine name, etc.)
message: StringHuman-readable message
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Smell
impl RefUnwindSafe for Smell
impl Send for Smell
impl Sync for Smell
impl Unpin for Smell
impl UnwindSafe for Smell
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