pub struct SearchRequest<S, C>where
S: Service,{ /* private fields */ }Implementations§
Source§impl<S, C> SearchRequest<S, C>
impl<S, C> SearchRequest<S, C>
Sourcepub fn iban_detection(self, enable: bool) -> SearchRequest<S, C>
pub fn iban_detection(self, enable: bool) -> SearchRequest<S, C>
If IBAN detection is enabled and the first value of a [SearchFilter::Term] is detected
to be a possible prefix of an IBAN that contains a national bank code,
the result might contain additional connections that match that bank code.
Sourcepub fn limit(self, limit: impl Into<Option<usize>>) -> SearchRequest<S, C>
pub fn limit(self, limit: impl Into<Option<usize>>) -> SearchRequest<S, C>
Limit the number of results.
Sourcepub fn details(
self,
details: impl IntoIterator<Item = Details>,
) -> SearchRequest<S, C>
pub fn details( self, details: impl IntoIterator<Item = Details>, ) -> SearchRequest<S, C>
Details to contain in search results.
Auto Trait Implementations§
impl<S, C> !Freeze for SearchRequest<S, C>
impl<S, C> !RefUnwindSafe for SearchRequest<S, C>
impl<S, C> Send for SearchRequest<S, C>where
C: Send,
impl<S, C> Sync for SearchRequest<S, C>
impl<S, C> Unpin for SearchRequest<S, C>
impl<S, C> UnsafeUnpin for SearchRequest<S, C>where
C: UnsafeUnpin,
impl<S, C> !UnwindSafe for SearchRequest<S, C>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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