pub struct BatchSearchChannelsResponse { /* private fields */ }Implementations§
Source§impl BatchSearchChannelsResponse
impl BatchSearchChannelsResponse
Sourcepub fn all_expanded_locators(&self) -> &BTreeSet<BatchedLocator>
pub fn all_expanded_locators(&self) -> &BTreeSet<BatchedLocator>
All locators expanded from the union of entry scopes in the batch, independent of which channels exist within them.
Sourcepub fn results(&self) -> &[BatchedChannelEntry]
pub fn results(&self) -> &[BatchedChannelEntry]
Channels matching the shared query, ordered by relevance from the underlying search:
for fuzzy queries, exact matches first, then channels containing the query text, then
other matches, with each tier ordered by descending similarity score; for substring
queries, by earliest match position; for subsequence queries, exact matches first, then
channels containing the query text ordered by earliest match position, then remaining
subsequence matches. Ties are broken by natural (numeric-aware) channel name order.
Each entry’s locatorMetadata covers all
locators across all entries where the channel exists; locators are tagged with the
set of entry ids that expanded to them.
Trait Implementations§
Source§impl Clone for BatchSearchChannelsResponse
impl Clone for BatchSearchChannelsResponse
Source§fn clone(&self) -> BatchSearchChannelsResponse
fn clone(&self) -> BatchSearchChannelsResponse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BatchSearchChannelsResponse
impl Debug for BatchSearchChannelsResponse
Source§impl<'de> Deserialize<'de> for BatchSearchChannelsResponse
impl<'de> Deserialize<'de> for BatchSearchChannelsResponse
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>,
impl Eq for BatchSearchChannelsResponse
Source§impl From<BatchSearchChannelsResponse> for Builder<Complete>
impl From<BatchSearchChannelsResponse> for Builder<Complete>
Source§fn from(v: BatchSearchChannelsResponse) -> Self
fn from(v: BatchSearchChannelsResponse) -> Self
Source§impl Hash for BatchSearchChannelsResponse
impl Hash for BatchSearchChannelsResponse
Source§impl Ord for BatchSearchChannelsResponse
impl Ord for BatchSearchChannelsResponse
Source§fn cmp(&self, other: &BatchSearchChannelsResponse) -> Ordering
fn cmp(&self, other: &BatchSearchChannelsResponse) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialOrd for BatchSearchChannelsResponse
impl PartialOrd for BatchSearchChannelsResponse
impl StructuralPartialEq for BatchSearchChannelsResponse
Auto Trait Implementations§
impl Freeze for BatchSearchChannelsResponse
impl RefUnwindSafe for BatchSearchChannelsResponse
impl Send for BatchSearchChannelsResponse
impl Sync for BatchSearchChannelsResponse
impl Unpin for BatchSearchChannelsResponse
impl UnsafeUnpin for BatchSearchChannelsResponse
impl UnwindSafe for BatchSearchChannelsResponse
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
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.