pub struct SimilarCodeCandidateSnapshot {
pub schema_version: SimilarCodeSchemaVersion,
pub generation: SimilarCodeGeneration,
pub candidate: SimilarCodeCandidate,
pub completion: SimilarCodeCompletion,
pub diagnostics: Vec<SimilarCodeDiagnostic>,
}Expand description
Bounded handoff for inspecting one immutable discovery candidate without rerunning global retrieval or ranking.
Fields§
§schema_version: SimilarCodeSchemaVersionSchema version of the discovery envelope that produced the candidate.
generation: SimilarCodeGenerationImmutable provider, model, parameter, and scope provenance.
candidate: SimilarCodeCandidateThe exact unverified candidate selected from discovery.
completion: SimilarCodeCompletionOriginal discovery completeness and limit accounting.
diagnostics: Vec<SimilarCodeDiagnostic>Original non-severity discovery diagnostics.
Trait Implementations§
Source§impl Clone for SimilarCodeCandidateSnapshot
impl Clone for SimilarCodeCandidateSnapshot
Source§impl Debug for SimilarCodeCandidateSnapshot
impl Debug for SimilarCodeCandidateSnapshot
Source§impl<'de> Deserialize<'de> for SimilarCodeCandidateSnapshot
impl<'de> Deserialize<'de> for SimilarCodeCandidateSnapshot
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
impl StructuralPartialEq for SimilarCodeCandidateSnapshot
Auto Trait Implementations§
impl Freeze for SimilarCodeCandidateSnapshot
impl RefUnwindSafe for SimilarCodeCandidateSnapshot
impl Send for SimilarCodeCandidateSnapshot
impl Sync for SimilarCodeCandidateSnapshot
impl Unpin for SimilarCodeCandidateSnapshot
impl UnsafeUnpin for SimilarCodeCandidateSnapshot
impl UnwindSafe for SimilarCodeCandidateSnapshot
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