pub struct PreprocessingOptions {
pub enabled: bool,
pub preset: PreprocessingPreset,
pub remove_navigation: bool,
pub remove_forms: bool,
}Expand description
HTML preprocessing options.
Fields§
§enabled: boolEnable preprocessing
preset: PreprocessingPresetPreprocessing preset
Remove navigation elements
remove_forms: boolRemove form elements
Implementations§
Source§impl PreprocessingOptions
impl PreprocessingOptions
pub fn apply_update(&mut self, update: PreprocessingOptionsUpdate)
pub fn from_update(update: PreprocessingOptionsUpdate) -> Self
Trait Implementations§
Source§impl Clone for PreprocessingOptions
impl Clone for PreprocessingOptions
Source§fn clone(&self) -> PreprocessingOptions
fn clone(&self) -> PreprocessingOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PreprocessingOptions
impl Debug for PreprocessingOptions
Source§impl Default for PreprocessingOptions
impl Default for PreprocessingOptions
Source§impl From<PreprocessingOptionsUpdate> for PreprocessingOptions
impl From<PreprocessingOptionsUpdate> for PreprocessingOptions
Source§fn from(update: PreprocessingOptionsUpdate) -> Self
fn from(update: PreprocessingOptionsUpdate) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PreprocessingOptions
impl RefUnwindSafe for PreprocessingOptions
impl Send for PreprocessingOptions
impl Sync for PreprocessingOptions
impl Unpin for PreprocessingOptions
impl UnwindSafe for PreprocessingOptions
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