pub struct MissingTopics { /* private fields */ }
Implementations§
Source§impl MissingTopics
impl MissingTopics
Sourcepub fn with_category(self, category: &str, category_depth: u32) -> Self
pub fn with_category(self, category: &str, category_depth: u32) -> Self
Set the category and category depth for the query. The category depth is the number of subcategories to include. Only one of category or article can be set.
Sourcepub fn with_article(self, article: &str) -> Self
pub fn with_article(self, article: &str) -> Self
Set the article for the query. Only one of category or article can be set.
Sourcepub fn limit(self, occurs_more_often_than: u32) -> Self
pub fn limit(self, occurs_more_often_than: u32) -> Self
Any result must have more than the given number of occurrences.
Sourcepub fn no_template_links(self, no_template_links: bool) -> Self
pub fn no_template_links(self, no_template_links: bool) -> Self
Filter out links from templates used in category pages.
Trait Implementations§
Source§impl Debug for MissingTopics
impl Debug for MissingTopics
Source§impl Default for MissingTopics
impl Default for MissingTopics
Source§fn default() -> MissingTopics
fn default() -> MissingTopics
Returns the “default value” for a type. Read more
Source§impl PartialEq for MissingTopics
impl PartialEq for MissingTopics
Source§impl Tool for MissingTopics
impl Tool for MissingTopics
Source§fn run<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), ToolsError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn run<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<(), ToolsError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Run the query asynchronously.
Source§fn run_blocking(&mut self) -> Result<(), ToolsError>
fn run_blocking(&mut self) -> Result<(), ToolsError>
Run the query in a blocking manner.
fn generate_paramters(&self) -> Result<Vec<(String, String)>, ToolsError>
fn from_json(&mut self, j: Value) -> Result<(), ToolsError>
fn generate_payload(&self) -> Value
impl StructuralPartialEq for MissingTopics
Auto Trait Implementations§
impl Freeze for MissingTopics
impl RefUnwindSafe for MissingTopics
impl Send for MissingTopics
impl Sync for MissingTopics
impl Unpin for MissingTopics
impl UnwindSafe for MissingTopics
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