#[non_exhaustive]pub struct CodeGrepOutput {Show 33 fields
pub lessons: Vec<HashMap<String, Value>>,
pub lessons_left_out: Integer,
pub matches: Vec<HashMap<String, Value>>,
pub related: Option<RelatedGrepEvidence>,
pub contexts: Vec<HashMap<String, Value>>,
pub contexts_partial: bool,
pub definitions: Vec<HashMap<String, Value>>,
pub definitions_partial: bool,
pub definitions_note: String,
pub next_cursor: String,
pub has_more: bool,
pub files: Vec<HashMap<String, Value>>,
pub files_total: Integer,
pub chunks_matched: Integer,
pub truncated: bool,
pub coverage_floor: bool,
pub as_of: HashMap<String, Value>,
pub not_covered: bool,
pub neighbours: Vec<HashMap<String, Value>>,
pub anchors: Integer,
pub anchors_capped: bool,
pub neighbour_tokens: Integer,
pub note: String,
pub verdict: String,
pub template: String,
pub error_code: String,
pub coverage: f64,
pub presence: Vec<HashMap<String, Value>>,
pub summary: HashMap<String, Vec<String>>,
pub trace_run_id: String,
pub partial: bool,
pub partial_reason: String,
pub fallback: CodeGrepOutputFallback,
}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§matches: Vec<HashMap<String, Value>>§contexts: Vec<HashMap<String, Value>>§contexts_partial: bool§definitions: Vec<HashMap<String, Value>>§definitions_partial: bool§definitions_note: String§next_cursor: String§has_more: bool§files: Vec<HashMap<String, Value>>§files_total: Integer§chunks_matched: Integer§truncated: bool§coverage_floor: bool§as_of: HashMap<String, Value>§not_covered: bool§neighbours: Vec<HashMap<String, Value>>§anchors: Integer§anchors_capped: bool§neighbour_tokens: Integer§note: String§verdict: String§template: String§error_code: String§coverage: f64§presence: Vec<HashMap<String, Value>>§summary: HashMap<String, Vec<String>>§trace_run_id: String§partial: bool§partial_reason: String§fallback: CodeGrepOutputFallbackTrait Implementations§
Source§impl Clone for CodeGrepOutput
impl Clone for CodeGrepOutput
Source§impl Debug for CodeGrepOutput
impl Debug for CodeGrepOutput
Source§impl<'de> Deserialize<'de> for CodeGrepOutput
impl<'de> Deserialize<'de> for CodeGrepOutput
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 CodeGrepOutput
impl PartialEq for CodeGrepOutput
Source§impl Serialize for CodeGrepOutput
impl Serialize for CodeGrepOutput
impl StructuralPartialEq for CodeGrepOutput
Auto Trait Implementations§
impl Forget for CodeGrepOutput
impl Freeze for CodeGrepOutput
impl Move for CodeGrepOutput
impl RefUnwindSafe for CodeGrepOutput
impl Send for CodeGrepOutput
impl Sync for CodeGrepOutput
impl Unpin for CodeGrepOutput
impl UnsafeUnpin for CodeGrepOutput
impl UnwindSafe for CodeGrepOutput
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