pub struct BehaviorIssue {
pub code: DiagnosticCode,
pub level: DiagnosticLevel,
pub tag: &'static str,
pub kind: AllocKind,
pub message: String,
pub suggestion: String,
pub observed_value: String,
pub threshold: String,
}Expand description
A detected behavior issue.
Fields§
§code: DiagnosticCodeDiagnostic code
level: DiagnosticLevelSeverity level
tag: &'static strThe tag involved
kind: AllocKindAllocation kind
message: StringHuman-readable message
suggestion: StringSuggestion for fixing
observed_value: StringObserved value that triggered the issue
threshold: StringThreshold that was exceeded
Trait Implementations§
Source§impl Clone for BehaviorIssue
impl Clone for BehaviorIssue
Source§fn clone(&self) -> BehaviorIssue
fn clone(&self) -> BehaviorIssue
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 BehaviorIssue
impl Debug for BehaviorIssue
Auto Trait Implementations§
impl Freeze for BehaviorIssue
impl RefUnwindSafe for BehaviorIssue
impl Send for BehaviorIssue
impl Sync for BehaviorIssue
impl Unpin for BehaviorIssue
impl UnwindSafe for BehaviorIssue
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