pub struct CodeGraphContextResponse {
pub metadata: ApiMetadata,
pub query: String,
pub repository_scope: CodeRepositoryScopeMetadata,
pub freshness: CodeRepositoryFreshnessDiagnostics,
pub budget: CodeGraphContextBudget,
pub truncated: bool,
pub retrieval_layers: Vec<CodeRetrievalLayer>,
pub request: CodeGraphContextRequest,
pub pack: CodeGraphContextPack,
pub diagnostics: Vec<String>,
}Expand description
Agent-facing one-call code graph context response.
Fields§
§metadata: ApiMetadata§query: String§repository_scope: CodeRepositoryScopeMetadata§freshness: CodeRepositoryFreshnessDiagnostics§budget: CodeGraphContextBudget§truncated: bool§retrieval_layers: Vec<CodeRetrievalLayer>§request: CodeGraphContextRequest§pack: CodeGraphContextPack§diagnostics: Vec<String>Trait Implementations§
Source§impl Clone for CodeGraphContextResponse
impl Clone for CodeGraphContextResponse
Source§fn clone(&self) -> CodeGraphContextResponse
fn clone(&self) -> CodeGraphContextResponse
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 CodeGraphContextResponse
impl Debug for CodeGraphContextResponse
Source§impl<'de> Deserialize<'de> for CodeGraphContextResponse
impl<'de> Deserialize<'de> for CodeGraphContextResponse
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
Source§impl PartialEq for CodeGraphContextResponse
impl PartialEq for CodeGraphContextResponse
Source§impl Serialize for CodeGraphContextResponse
impl Serialize for CodeGraphContextResponse
impl StructuralPartialEq for CodeGraphContextResponse
Auto Trait Implementations§
impl Freeze for CodeGraphContextResponse
impl RefUnwindSafe for CodeGraphContextResponse
impl Send for CodeGraphContextResponse
impl Sync for CodeGraphContextResponse
impl Unpin for CodeGraphContextResponse
impl UnsafeUnpin for CodeGraphContextResponse
impl UnwindSafe for CodeGraphContextResponse
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