pub struct ExploreMetadata {
pub lossy_utf8: bool,
pub effective_context_lines: usize,
pub effective_max_matches: usize,
pub context_efficiency: Option<ContextEfficiencyMetadata>,
}Expand description
Explorer execution metadata including effective limits and optional context-efficiency stats.
Fields§
§lossy_utf8: bool§effective_context_lines: usize§effective_max_matches: usize§context_efficiency: Option<ContextEfficiencyMetadata>Trait Implementations§
Source§impl Clone for ExploreMetadata
impl Clone for ExploreMetadata
Source§fn clone(&self) -> ExploreMetadata
fn clone(&self) -> ExploreMetadata
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 ExploreMetadata
impl Debug for ExploreMetadata
Source§impl<'de> Deserialize<'de> for ExploreMetadata
impl<'de> Deserialize<'de> for ExploreMetadata
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 JsonSchema for ExploreMetadata
impl JsonSchema for ExploreMetadata
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ExploreMetadata
impl PartialEq for ExploreMetadata
Source§fn eq(&self, other: &ExploreMetadata) -> bool
fn eq(&self, other: &ExploreMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExploreMetadata
impl Serialize for ExploreMetadata
impl StructuralPartialEq for ExploreMetadata
Auto Trait Implementations§
impl Freeze for ExploreMetadata
impl RefUnwindSafe for ExploreMetadata
impl Send for ExploreMetadata
impl Sync for ExploreMetadata
impl Unpin for ExploreMetadata
impl UnsafeUnpin for ExploreMetadata
impl UnwindSafe for ExploreMetadata
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more