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 global relevance score (descending)
from the underlying search. 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
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 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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<BatchSearchChannelsResponse> for Builder<Complete>
impl From<BatchSearchChannelsResponse> for Builder<Complete>
Source§fn from(v: BatchSearchChannelsResponse) -> Self
fn from(v: BatchSearchChannelsResponse) -> Self
Converts to this type from the input type.
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,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BatchSearchChannelsResponse
impl PartialEq for BatchSearchChannelsResponse
Source§fn eq(&self, other: &BatchSearchChannelsResponse) -> bool
fn eq(&self, other: &BatchSearchChannelsResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for BatchSearchChannelsResponse
impl PartialOrd for BatchSearchChannelsResponse
impl Eq 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
Mutably borrows from an owned value. Read more
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
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
Compare self to
key and return true if they are equal.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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request