pub enum QueryView {
Full {},
Outline {
detail: OutlineDetail,
},
Excerpt {
nodes: Vec<String>,
},
Explain {
entry: String,
},
Search {
pattern: String,
syntax: SearchSyntax,
case: SearchCase,
scope: SearchScope,
word: bool,
context_lines: u16,
limit: u32,
offset: u32,
},
}Expand description
Projection requested after loading one complete structured document.
Variants§
Full
Outline
Fields
§
detail: OutlineDetailExcerpt
Explain
Resolve exactly one semantic entry and return its complete description.
Search
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QueryView
impl<'de> Deserialize<'de> for QueryView
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 Eq for QueryView
Source§impl JsonSchema for QueryView
impl JsonSchema for QueryView
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 moreimpl StructuralPartialEq for QueryView
Auto Trait Implementations§
impl Freeze for QueryView
impl RefUnwindSafe for QueryView
impl Send for QueryView
impl Sync for QueryView
impl Unpin for QueryView
impl UnsafeUnpin for QueryView
impl UnwindSafe for QueryView
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