pub enum ContextResponse {
Show 20 variants
RecentChanges(Vec<ContextUpdate>),
CodeReferences(Vec<CodeReference>),
StructuredSummary(StructuredContext),
SearchResults(Vec<ContextUpdate>),
Decisions(Vec<ContextUpdate>),
OpenQuestions(Vec<String>),
ChangeHistory(Vec<ContextUpdate>),
RelatedEntities(Vec<String>),
EntityContext(String),
AllEntities(Vec<String>),
EntityRelationships(Vec<String>),
EntityNetwork(String),
ConnectionPath(String),
Entities(Vec<String>),
ImportanceAnalysis(String),
EntityHierarchy(String),
EntityClusters(String),
EntityTimeline(String),
EntityTrends(String),
AssembledContext(AssembledContext),
}Expand description
Typed response payloads returned by query::query_context.
Variants§
RecentChanges(Vec<ContextUpdate>)
Recent context updates since a given timestamp.
CodeReferences(Vec<CodeReference>)
Code references matching a file path.
StructuredSummary(StructuredContext)
Full structured summary of the session.
SearchResults(Vec<ContextUpdate>)
Context updates matching a keyword search.
Decisions(Vec<ContextUpdate>)
Decision-type context updates.
OpenQuestions(Vec<String>)
Open questions tracked in the session.
ChangeHistory(Vec<ContextUpdate>)
Change history for a file or across all files.
RelatedEntities(Vec<String>)
Entity names related to a target entity.
EntityContext(String)
Human-readable context summary for a single entity.
AllEntities(Vec<String>)
All entity names, optionally filtered by type.
EntityRelationships(Vec<String>)
Entity names discovered by relationship traversal.
EntityNetwork(String)
Serialized entity network graph.
ConnectionPath(String)
Serialized shortest path between two entities.
Entities(Vec<String>)
Generic list of entity names.
ImportanceAnalysis(String)
Human-readable entity importance analysis.
EntityHierarchy(String)
Serialized entity hierarchy tree.
EntityClusters(String)
Serialized entity cluster data.
EntityTimeline(String)
Serialized entity timeline data.
EntityTrends(String)
Serialized entity trend analysis.
AssembledContext(AssembledContext)
Graph-aware assembled context within a token budget.
Trait Implementations§
Source§impl Debug for ContextResponse
impl Debug for ContextResponse
Source§impl<'de> Deserialize<'de> for ContextResponse
impl<'de> Deserialize<'de> for ContextResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContextResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContextResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for ContextResponse
impl Serialize for ContextResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Auto Trait Implementations§
impl Freeze for ContextResponse
impl RefUnwindSafe for ContextResponse
impl Send for ContextResponse
impl Sync for ContextResponse
impl Unpin for ContextResponse
impl UnsafeUnpin for ContextResponse
impl UnwindSafe for ContextResponse
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
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>
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>
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::RequestSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::RequestSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request