pub struct ComplexityWarning {
pub metric: String,
pub value: f64,
pub threshold: f64,
pub severity: WarningSeverity,
pub message: String,
}Expand description
A complexity warning produced by check_complexity.
Fields§
§metric: String§value: f64§threshold: f64§severity: WarningSeverity§message: StringTrait Implementations§
Source§impl Clone for ComplexityWarning
impl Clone for ComplexityWarning
Source§fn clone(&self) -> ComplexityWarning
fn clone(&self) -> ComplexityWarning
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 ComplexityWarning
impl Debug for ComplexityWarning
Auto Trait Implementations§
impl Freeze for ComplexityWarning
impl RefUnwindSafe for ComplexityWarning
impl Send for ComplexityWarning
impl Sync for ComplexityWarning
impl Unpin for ComplexityWarning
impl UnsafeUnpin for ComplexityWarning
impl UnwindSafe for ComplexityWarning
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