pub struct CodeGraphContextProvenance {
pub query_kind: CodeQueryKind,
pub retrieval_layers: Vec<CodeRetrievalLayer>,
pub score: f64,
}Expand description
Context item provenance used by packed codegraph responses.
Fields§
§query_kind: CodeQueryKind§retrieval_layers: Vec<CodeRetrievalLayer>§score: f64Trait Implementations§
Source§impl Clone for CodeGraphContextProvenance
impl Clone for CodeGraphContextProvenance
Source§fn clone(&self) -> CodeGraphContextProvenance
fn clone(&self) -> CodeGraphContextProvenance
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 CodeGraphContextProvenance
impl Debug for CodeGraphContextProvenance
Source§impl<'de> Deserialize<'de> for CodeGraphContextProvenance
impl<'de> Deserialize<'de> for CodeGraphContextProvenance
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 CodeGraphContextProvenance
impl PartialEq for CodeGraphContextProvenance
Source§fn eq(&self, other: &CodeGraphContextProvenance) -> bool
fn eq(&self, other: &CodeGraphContextProvenance) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CodeGraphContextProvenance
Auto Trait Implementations§
impl Freeze for CodeGraphContextProvenance
impl RefUnwindSafe for CodeGraphContextProvenance
impl Send for CodeGraphContextProvenance
impl Sync for CodeGraphContextProvenance
impl Unpin for CodeGraphContextProvenance
impl UnsafeUnpin for CodeGraphContextProvenance
impl UnwindSafe for CodeGraphContextProvenance
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