pub struct StructureResult {
pub score: f64,
pub depth_score: f64,
pub coverage_score: f64,
pub naming_score: f64,
pub standard_score: f64,
pub organization_score: f64,
}Expand description
Result of project structure analysis.
Fields§
§score: f64Weighted composite structure quality score (0.0-1.0).
depth_score: f64Directory nesting depth quality (ideal average 2-4 levels).
coverage_score: f64Documentation coverage ratio relative to total files.
naming_score: f64File naming convention consistency (kebab/snake/camel).
standard_score: f64Presence of standard project directories (docs/, src/, tests/, .github/).
organization_score: f64Organization quality: no dumping grounds, separation of concerns.
Trait Implementations§
Source§impl Clone for StructureResult
impl Clone for StructureResult
Source§fn clone(&self) -> StructureResult
fn clone(&self) -> StructureResult
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 StructureResult
impl Debug for StructureResult
Auto Trait Implementations§
impl Freeze for StructureResult
impl RefUnwindSafe for StructureResult
impl Send for StructureResult
impl Sync for StructureResult
impl Unpin for StructureResult
impl UnsafeUnpin for StructureResult
impl UnwindSafe for StructureResult
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,
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