pub struct ContextSnapshot {
pub worktree_root: String,
pub branch: String,
pub updated_at: String,
pub touched_files: Vec<TouchedFile>,
pub now: WindowSummary,
pub session: WindowSummary,
pub week: WindowSummary,
pub assistant_memory: AssistantMemory,
pub usage: UsageSnapshot,
}Fields§
§worktree_root: String§branch: String§updated_at: String§touched_files: Vec<TouchedFile>§now: WindowSummary§session: WindowSummary§week: WindowSummary§assistant_memory: AssistantMemory§usage: UsageSnapshotTrait Implementations§
Source§impl Clone for ContextSnapshot
impl Clone for ContextSnapshot
Source§fn clone(&self) -> ContextSnapshot
fn clone(&self) -> ContextSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContextSnapshot
impl Debug for ContextSnapshot
Auto Trait Implementations§
impl Freeze for ContextSnapshot
impl RefUnwindSafe for ContextSnapshot
impl Send for ContextSnapshot
impl Sync for ContextSnapshot
impl Unpin for ContextSnapshot
impl UnsafeUnpin for ContextSnapshot
impl UnwindSafe for ContextSnapshot
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