pub struct FrenringOptionsBuilder { /* private fields */ }
Implementations§
Source§impl FrenringOptionsBuilder
impl FrenringOptionsBuilder
pub fn new() -> Self
Sourcepub fn count_total(self, v: Option<usize>) -> Self
pub fn count_total(self, v: Option<usize>) -> Self
total amount of articles to output. default: 3
Sourcepub fn count_per_source(self, v: Option<usize>) -> Self
pub fn count_per_source(self, v: Option<usize>) -> Self
max amount of articles from a single source to output. default: 1
Sourcepub fn summary_len(self, v: Option<usize>) -> Self
pub fn summary_len(self, v: Option<usize>) -> Self
max characters for a the article’s summary
pub fn build(self) -> FrenringOptions
Auto Trait Implementations§
impl Freeze for FrenringOptionsBuilder
impl RefUnwindSafe for FrenringOptionsBuilder
impl Send for FrenringOptionsBuilder
impl Sync for FrenringOptionsBuilder
impl Unpin for FrenringOptionsBuilder
impl UnwindSafe for FrenringOptionsBuilder
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