pub struct PreprocessOptions {
pub strip_quotes: bool,
pub strip_signature: bool,
pub max_body_length: usize,
}Expand description
Options for customizing preprocessing behavior.
Fields§
§strip_quotes: boolWhether to strip quoted reply content. Default: true.
strip_signature: boolWhether to strip email signatures. Default: true.
max_body_length: usizeMaximum body length in characters. 0 = no limit. Default: 0.
Trait Implementations§
Source§impl Clone for PreprocessOptions
impl Clone for PreprocessOptions
Source§fn clone(&self) -> PreprocessOptions
fn clone(&self) -> PreprocessOptions
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 PreprocessOptions
impl Debug for PreprocessOptions
Source§impl Default for PreprocessOptions
impl Default for PreprocessOptions
Source§impl<'de> Deserialize<'de> for PreprocessOptions
impl<'de> Deserialize<'de> for PreprocessOptions
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
Auto Trait Implementations§
impl Freeze for PreprocessOptions
impl RefUnwindSafe for PreprocessOptions
impl Send for PreprocessOptions
impl Sync for PreprocessOptions
impl Unpin for PreprocessOptions
impl UnsafeUnpin for PreprocessOptions
impl UnwindSafe for PreprocessOptions
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