pub struct BingBackend { /* private fields */ }Available on crate feature
backends only.Implementations§
Source§impl BingBackend
impl BingBackend
pub fn new(config: &BingConfig) -> Result<Self, WebshiftError>
Trait Implementations§
Source§impl Debug for BingBackend
impl Debug for BingBackend
Source§impl SearchBackend for BingBackend
impl SearchBackend for BingBackend
fn search<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
query: &'life1 str,
num_results: usize,
lang: Option<&'life2 str>,
) -> Pin<Box<dyn Future<Output = Result<BackendResponse, WebshiftError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for BingBackend
impl !RefUnwindSafe for BingBackend
impl Send for BingBackend
impl Sync for BingBackend
impl Unpin for BingBackend
impl UnsafeUnpin for BingBackend
impl !UnwindSafe for BingBackend
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