[−][src]Struct extrablatt::extrablatt::ConfigBuilder
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]
fn default() -> ConfigBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for ConfigBuilder
impl Send for ConfigBuilder
impl Sync for ConfigBuilder
impl Unpin for ConfigBuilder
impl UnwindSafe for ConfigBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,