Struct email_address_parser::ParsingOptions
source · pub struct ParsingOptions {
pub is_lax: bool,
}
Expand description
Options for parsing.
The is only one available option so far is_lax
which can be set to
true
or false
to enable/disable obsolete parts parsing.
The default is false
.
Fields§
§is_lax: bool
Implementations§
source§impl ParsingOptions
impl ParsingOptions
pub fn new(is_lax: bool) -> ParsingOptions
Trait Implementations§
source§impl Clone for ParsingOptions
impl Clone for ParsingOptions
source§fn clone(&self) -> ParsingOptions
fn clone(&self) -> ParsingOptions
Returns a copy 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 ParsingOptions
impl Debug for ParsingOptions
Auto Trait Implementations§
impl RefUnwindSafe for ParsingOptions
impl Send for ParsingOptions
impl Sync for ParsingOptions
impl Unpin for ParsingOptions
impl UnwindSafe for ParsingOptions
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