pub struct LocResult {
pub status: CollectorStatus,
pub total_lines: u32,
pub code_lines: u32,
pub comment_lines: u32,
pub blank_lines: u32,
pub long_lines: u32,
pub max_line_length_found: usize,
pub max_line_length_allowed: usize,
pub files: u32,
pub files_with_long_lines: u32,
pub long_line_files: Vec<String>,
}Fields§
§status: CollectorStatus§total_lines: u32§code_lines: u32§comment_lines: u32§blank_lines: u32§long_lines: u32§max_line_length_found: usize§max_line_length_allowed: usize§files: u32§files_with_long_lines: u32§long_line_files: Vec<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for LocResult
impl<'de> Deserialize<'de> for LocResult
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
impl StructuralPartialEq for LocResult
Auto Trait Implementations§
impl Freeze for LocResult
impl RefUnwindSafe for LocResult
impl Send for LocResult
impl Sync for LocResult
impl Unpin for LocResult
impl UnsafeUnpin for LocResult
impl UnwindSafe for LocResult
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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