pub struct ExtractOptions {
pub denoise: DenoiseConfig,
pub index_mode: IndexMode,
pub render: RenderOptions,
pub min_content_chars: usize,
}Expand description
Knobs for extract.
Fields§
§denoise: DenoiseConfigDenoiser tuning.
index_mode: IndexModeWhen to fall back to harvesting links instead of prose.
render: RenderOptionsMarkdown rendering tuning.
min_content_chars: usizeIf the chosen content root yields fewer than this many characters, redo
the extraction from <body>. Guards against a scoring miss on pages
with unusual markup.
Implementations§
Trait Implementations§
Source§impl Clone for ExtractOptions
impl Clone for ExtractOptions
Source§impl Debug for ExtractOptions
impl Debug for ExtractOptions
Auto Trait Implementations§
impl Forget for ExtractOptions
impl Freeze for ExtractOptions
impl Move for ExtractOptions
impl RefUnwindSafe for ExtractOptions
impl Send for ExtractOptions
impl Sync for ExtractOptions
impl Unpin for ExtractOptions
impl UnsafeUnpin for ExtractOptions
impl UnwindSafe for ExtractOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more