pub struct EverythingParams { /* private fields */ }Expand description
Parameters for the /everything endpoint.
See the API documentation for more details.
Implementations§
Source§impl EverythingParams
impl EverythingParams
Sourcepub fn q_in_title(self, query: impl Into<String>) -> Self
pub fn q_in_title(self, query: impl Into<String>) -> Self
Sets the search query to only look in article titles.
Sourcepub fn domains(self, domains: impl Into<String>) -> Self
pub fn domains(self, domains: impl Into<String>) -> Self
Sets the domains for the search range.
Sourcepub fn language(self, lang: impl Into<String>) -> Self
pub fn language(self, lang: impl Into<String>) -> Self
Sets the language for the search results (e.g. “en” for English).
Trait Implementations§
Source§impl Clone for EverythingParams
impl Clone for EverythingParams
Source§impl Debug for EverythingParams
impl Debug for EverythingParams
Auto Trait Implementations§
impl Freeze for EverythingParams
impl RefUnwindSafe for EverythingParams
impl Send for EverythingParams
impl Sync for EverythingParams
impl Unpin for EverythingParams
impl UnsafeUnpin for EverythingParams
impl UnwindSafe for EverythingParams
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