#[non_exhaustive]pub struct CodeSearchOutput {Show 29 fields
pub lessons: Vec<HashMap<String, Value>>,
pub lessons_left_out: Integer,
pub results: Vec<CodeUnit>,
pub route: String,
pub next_cursor: String,
pub has_more: bool,
pub history: HashMap<String, Value>,
pub abstain: bool,
pub abstain_code: CodeSearchOutputAbstainCode,
pub abstain_reason: String,
pub retrieval_risk: CodeSearchOutputRetrievalRisk,
pub retrieval_confidence: f64,
pub route_agreement: f64,
pub calibration_explanation: String,
pub tokens_returned: Integer,
pub constrained: bool,
pub matched_files: Integer,
pub as_of: HashMap<String, Value>,
pub score_explanation: String,
pub retrieval_work: HashMap<String, CodeSearchOutputRetrievalWorkValue>,
pub trace_run_id: String,
pub top_similarity: f64,
pub tracked: HashMap<String, Value>,
pub fanout: HashMap<String, Value>,
pub note: String,
pub legs_timed_out: Vec<String>,
pub epistemic: CodeSearchOutputEpistemic,
pub partial: bool,
pub partial_reason: String,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.lessons: Vec<HashMap<String, Value>>§lessons_left_out: Integer§results: Vec<CodeUnit>§route: String§next_cursor: String§has_more: bool§history: HashMap<String, Value>§abstain: bool§abstain_code: CodeSearchOutputAbstainCode§abstain_reason: String§retrieval_risk: CodeSearchOutputRetrievalRisk§retrieval_confidence: f64§route_agreement: f64§calibration_explanation: String§tokens_returned: Integer§constrained: bool§matched_files: Integer§as_of: HashMap<String, Value>§score_explanation: String§retrieval_work: HashMap<String, CodeSearchOutputRetrievalWorkValue>§trace_run_id: String§top_similarity: f64§tracked: HashMap<String, Value>§fanout: HashMap<String, Value>§note: String§legs_timed_out: Vec<String>§epistemic: CodeSearchOutputEpistemic§partial: bool§partial_reason: StringTrait Implementations§
Source§impl Clone for CodeSearchOutput
impl Clone for CodeSearchOutput
Source§impl Debug for CodeSearchOutput
impl Debug for CodeSearchOutput
Source§impl<'de> Deserialize<'de> for CodeSearchOutput
impl<'de> Deserialize<'de> for CodeSearchOutput
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 CodeSearchOutput
impl PartialEq for CodeSearchOutput
Source§impl Serialize for CodeSearchOutput
impl Serialize for CodeSearchOutput
impl StructuralPartialEq for CodeSearchOutput
Auto Trait Implementations§
impl Forget for CodeSearchOutput
impl Freeze for CodeSearchOutput
impl Move for CodeSearchOutput
impl RefUnwindSafe for CodeSearchOutput
impl Send for CodeSearchOutput
impl Sync for CodeSearchOutput
impl Unpin for CodeSearchOutput
impl UnsafeUnpin for CodeSearchOutput
impl UnwindSafe for CodeSearchOutput
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