[][src]Struct extrablatt::extrablatt::ConfigBuilder

pub struct ConfigBuilder { /* fields omitted */ }

Implementations

impl ConfigBuilder[src]

pub fn min_word_count(self, min_word_count: usize) -> Self[src]

pub fn max_word_count(self, max_word_count: usize) -> Self[src]

pub fn min_sentence_count(self, min_sentence_count: usize) -> Self[src]

pub fn min_title_len(self, min_title_len: usize) -> Self[src]

pub fn max_title_len(self, max_title_len: usize) -> Self[src]

pub fn min_text_len(self, min_text_len: usize) -> Self[src]

pub fn max_text_len(self, max_text_len: usize) -> Self[src]

pub fn min_keywords(self, min_keywords: usize) -> Self[src]

pub fn max_keywords(self, max_keywords: usize) -> Self[src]

pub fn min_authors(self, min_authors: usize) -> Self[src]

pub fn max_authors(self, max_authors: usize) -> Self[src]

pub fn max_doc_cache(self, max_doc_cache: usize) -> Self[src]

pub fn http_success_only(self, keep_article_html: bool) -> Self[src]

pub fn user_agent<T: ToString>(self, user_agent: T) -> Self[src]

pub fn request_timeout(self, request_timeout: Duration) -> Self[src]

pub fn build(self) -> Config[src]

pub fn with_restrictions() -> Self[src]

Pre sets some restrictions regarding the article content:

  • Word Count >= 300
  • Sentences >= 7
  • Text Length >= 100_000

Trait Implementations

impl Debug for ConfigBuilder[src]

impl Default for ConfigBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,