pub struct PreprocessingOptionsUpdate {
pub enabled: Option<bool>,
pub preset: Option<PreprocessingPreset>,
pub remove_navigation: Option<bool>,
pub remove_forms: Option<bool>,
}Expand description
Partial update for PreprocessingOptions.
This struct uses Option<T> to represent optional fields that can be selectively updated.
Only specified fields (Some values) will override existing options; None values leave the
corresponding fields unchanged when applied via PreprocessingOptions::apply_update.
Fields§
§enabled: Option<bool>Optional global preprocessing enablement override
preset: Option<PreprocessingPreset>Optional preprocessing preset level override (Minimal, Standard, Aggressive)
Optional navigation element removal override (nav, breadcrumbs, menus, sidebars)
remove_forms: Option<bool>Optional form element removal override (forms, inputs, buttons, etc.)
Trait Implementations§
Source§impl Clone for PreprocessingOptionsUpdate
impl Clone for PreprocessingOptionsUpdate
Source§fn clone(&self) -> PreprocessingOptionsUpdate
fn clone(&self) -> PreprocessingOptionsUpdate
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 PreprocessingOptionsUpdate
impl Debug for PreprocessingOptionsUpdate
Source§impl Default for PreprocessingOptionsUpdate
impl Default for PreprocessingOptionsUpdate
Source§fn default() -> PreprocessingOptionsUpdate
fn default() -> PreprocessingOptionsUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PreprocessingOptionsUpdate
impl<'de> Deserialize<'de> for PreprocessingOptionsUpdate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 PreprocessingOptionsUpdate
impl RefUnwindSafe for PreprocessingOptionsUpdate
impl Send for PreprocessingOptionsUpdate
impl Sync for PreprocessingOptionsUpdate
impl Unpin for PreprocessingOptionsUpdate
impl UnwindSafe for PreprocessingOptionsUpdate
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