pub struct ContextSummary {
pub foreground_apps: Vec<String>,
pub notified_apps: Vec<String>,
pub all_semantic_hints: Vec<SemanticHint>,
pub file_activity: Vec<(ExtensionCategory, u32)>,
pub latest_system_status: Option<SystemStatusSnapshot>,
pub source_tier: SourceTier,
}Expand description
Aggregated summary of a context window.
Fields§
§foreground_apps: Vec<String>§notified_apps: Vec<String>§all_semantic_hints: Vec<SemanticHint>§file_activity: Vec<(ExtensionCategory, u32)>§latest_system_status: Option<SystemStatusSnapshot>§source_tier: SourceTierTrait Implementations§
Source§impl Clone for ContextSummary
impl Clone for ContextSummary
Source§fn clone(&self) -> ContextSummary
fn clone(&self) -> ContextSummary
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 ContextSummary
impl Debug for ContextSummary
Source§impl<'de> Deserialize<'de> for ContextSummary
impl<'de> Deserialize<'de> for ContextSummary
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
Auto Trait Implementations§
impl Freeze for ContextSummary
impl RefUnwindSafe for ContextSummary
impl Send for ContextSummary
impl Sync for ContextSummary
impl Unpin for ContextSummary
impl UnsafeUnpin for ContextSummary
impl UnwindSafe for ContextSummary
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