pub struct ValidatedSearch<'a>(&'a SearchQuery);Expand description
Search request checked by Discovery, with a provider-native cursor.
Validation covers the advertised schema, not the native cursor’s contents or
whether returned candidates satisfy the filters. The adapter checks those.
Tuple Fields§
§0: &'a SearchQueryImplementations§
Source§impl ValidatedSearch<'_>
impl ValidatedSearch<'_>
Sourcepub fn query(&self) -> &SearchQuery
pub fn query(&self) -> &SearchQuery
Borrow the checked query. Adapters still implement predicate semantics.
Auto Trait Implementations§
impl<'a> Freeze for ValidatedSearch<'a>
impl<'a> RefUnwindSafe for ValidatedSearch<'a>
impl<'a> Send for ValidatedSearch<'a>
impl<'a> Sync for ValidatedSearch<'a>
impl<'a> Unpin for ValidatedSearch<'a>
impl<'a> UnsafeUnpin for ValidatedSearch<'a>
impl<'a> UnwindSafe for ValidatedSearch<'a>
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