pub struct ScopedSearchDocument {
pub address: DocumentAddress,
pub depth: u16,
pub search: QuerySearch,
}Expand description
One document’s search hits inside a globally paginated scope result.
Fields§
§address: DocumentAddressStable logical document identity.
depth: u16Distance retained from the resolved scope.
search: QuerySearchMatching line groups retained for this global page together with their document-local coordinate contract.
Trait Implementations§
Source§impl Clone for ScopedSearchDocument
impl Clone for ScopedSearchDocument
Source§fn clone(&self) -> ScopedSearchDocument
fn clone(&self) -> ScopedSearchDocument
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 ScopedSearchDocument
impl Debug for ScopedSearchDocument
Source§impl<'de> Deserialize<'de> for ScopedSearchDocument
impl<'de> Deserialize<'de> for ScopedSearchDocument
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 ScopedSearchDocument
Source§impl JsonSchema for ScopedSearchDocument
impl JsonSchema for ScopedSearchDocument
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 ScopedSearchDocument
impl PartialEq for ScopedSearchDocument
Source§impl Serialize for ScopedSearchDocument
impl Serialize for ScopedSearchDocument
impl StructuralPartialEq for ScopedSearchDocument
Auto Trait Implementations§
impl Freeze for ScopedSearchDocument
impl RefUnwindSafe for ScopedSearchDocument
impl Send for ScopedSearchDocument
impl Sync for ScopedSearchDocument
impl Unpin for ScopedSearchDocument
impl UnsafeUnpin for ScopedSearchDocument
impl UnwindSafe for ScopedSearchDocument
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