pub struct SessionCheckpointReport {
pub files_read: usize,
pub files_edited: usize,
pub searches: usize,
pub total_actions: usize,
pub hot_dirs: Vec<(String, usize)>,
pub session_patterns: Vec<DetectedPattern>,
pub cross_patterns: Vec<DetectedPattern>,
pub stored_pattern_count: usize,
pub report: String,
}Expand description
Result of a session checkpoint.
Fields§
§files_read: usizeNumber of files read in this session.
files_edited: usizeNumber of files edited in this session.
searches: usizeNumber of searches in this session.
total_actions: usizeTotal actions in this session.
hot_dirs: Vec<(String, usize)>Hot directories with their action counts.
session_patterns: Vec<DetectedPattern>Patterns detected within this session.
cross_patterns: Vec<DetectedPattern>Patterns detected across sessions (excluding session-scoped duplicates).
stored_pattern_count: usizeNumber of new pattern insights stored during this checkpoint.
report: StringPre-built markdown report.
Trait Implementations§
Source§impl Clone for SessionCheckpointReport
impl Clone for SessionCheckpointReport
Source§fn clone(&self) -> SessionCheckpointReport
fn clone(&self) -> SessionCheckpointReport
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 moreAuto Trait Implementations§
impl Freeze for SessionCheckpointReport
impl RefUnwindSafe for SessionCheckpointReport
impl Send for SessionCheckpointReport
impl Sync for SessionCheckpointReport
impl Unpin for SessionCheckpointReport
impl UnsafeUnpin for SessionCheckpointReport
impl UnwindSafe for SessionCheckpointReport
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