pub struct AnalysisStats {
pub total_routes: usize,
pub async_routes: usize,
pub sync_routes: usize,
pub middleware: usize,
pub estimated_lines: usize,
pub complexity_score: u8,
}Fields§
§total_routes: usize§async_routes: usize§sync_routes: usize§middleware: usize§estimated_lines: usize§complexity_score: u8Implementations§
Source§impl AnalysisStats
impl AnalysisStats
pub fn print_summary(&self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AnalysisStats
impl RefUnwindSafe for AnalysisStats
impl Send for AnalysisStats
impl Sync for AnalysisStats
impl Unpin for AnalysisStats
impl UnsafeUnpin for AnalysisStats
impl UnwindSafe for AnalysisStats
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