pub struct SessionSearchCapabilities {
pub provider: String,
pub query_modes: BTreeSet<SessionSearchQueryMode>,
pub sources: BTreeSet<SessionSearchSource>,
pub filters: BTreeSet<SessionSearchFilterKind>,
pub granularities: BTreeSet<SessionSearchGranularity>,
pub sorts: BTreeSet<SessionSearchSort>,
pub occurrence_locations: bool,
pub snippets: bool,
pub scores: bool,
pub freshness_watermarks: bool,
pub max_page_size: u32,
pub consistency: SessionSearchConsistency,
}Expand description
Provider capability advertisement.
Fields§
§provider: StringStable provider kind, not an endpoint or topology description.
query_modes: BTreeSet<SessionSearchQueryMode>Supported text modes.
sources: BTreeSet<SessionSearchSource>Searchable projection families.
filters: BTreeSet<SessionSearchFilterKind>Supported typed filters.
granularities: BTreeSet<SessionSearchGranularity>Supported grouping levels.
sorts: BTreeSet<SessionSearchSort>Supported orderings.
occurrence_locations: boolWhether occurrence provenance is returned.
snippets: boolWhether snippets are returned.
scores: boolWhether relevance scores are returned.
freshness_watermarks: boolWhether freshness watermarks are returned.
max_page_size: u32Largest accepted page size.
consistency: SessionSearchConsistencyConsistency behavior.
Trait Implementations§
Source§impl Clone for SessionSearchCapabilities
impl Clone for SessionSearchCapabilities
Source§fn clone(&self) -> SessionSearchCapabilities
fn clone(&self) -> SessionSearchCapabilities
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 SessionSearchCapabilities
impl Debug for SessionSearchCapabilities
Source§impl<'de> Deserialize<'de> for SessionSearchCapabilities
impl<'de> Deserialize<'de> for SessionSearchCapabilities
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 SessionSearchCapabilities
impl StructuralPartialEq for SessionSearchCapabilities
Auto Trait Implementations§
impl Freeze for SessionSearchCapabilities
impl RefUnwindSafe for SessionSearchCapabilities
impl Send for SessionSearchCapabilities
impl Sync for SessionSearchCapabilities
impl Unpin for SessionSearchCapabilities
impl UnsafeUnpin for SessionSearchCapabilities
impl UnwindSafe for SessionSearchCapabilities
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