pub struct GodMethodResult {
pub method_name: Arc<str>,
pub class_name: Arc<str>,
pub file_path: Arc<str>,
pub metrics: MethodMetrics,
pub violations: Arc<[Violation]>,
pub violation_score: f64,
}Expand description
Analysis result for a god method
Fields§
§method_name: Arc<str>§class_name: Arc<str>§file_path: Arc<str>§metrics: MethodMetrics§violations: Arc<[Violation]>§violation_score: f64Trait Implementations§
Source§impl Clone for GodMethodResult
impl Clone for GodMethodResult
Source§fn clone(&self) -> GodMethodResult
fn clone(&self) -> GodMethodResult
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 GodMethodResult
impl Debug for GodMethodResult
Source§impl<'de> Deserialize<'de> for GodMethodResult
impl<'de> Deserialize<'de> for GodMethodResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GodMethodResult
impl RefUnwindSafe for GodMethodResult
impl Send for GodMethodResult
impl Sync for GodMethodResult
impl Unpin for GodMethodResult
impl UnwindSafe for GodMethodResult
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