pub struct ModuleMetrics {Show 13 fields
pub variable_count: usize,
pub output_count: usize,
pub resource_count: usize,
pub resource_type_count: usize,
pub provider_count: usize,
pub data_source_count: usize,
pub local_count: usize,
pub module_call_count: usize,
pub file_count: usize,
pub lines_of_code: usize,
pub hierarchy_depth: usize,
pub variables_with_defaults: usize,
pub variables_without_description: usize,
}Expand description
Quantitative metrics for module analysis
Fields§
§variable_count: usize§output_count: usize§resource_count: usize§resource_type_count: usize§provider_count: usize§data_source_count: usize§local_count: usize§module_call_count: usize§file_count: usize§lines_of_code: usize§hierarchy_depth: usize§variables_with_defaults: usize§variables_without_description: usizeTrait Implementations§
Source§impl Debug for ModuleMetrics
impl Debug for ModuleMetrics
Source§impl<'de> Deserialize<'de> for ModuleMetrics
impl<'de> Deserialize<'de> for ModuleMetrics
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 ModuleMetrics
impl RefUnwindSafe for ModuleMetrics
impl Send for ModuleMetrics
impl Sync for ModuleMetrics
impl Unpin for ModuleMetrics
impl UnwindSafe for ModuleMetrics
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more