Struct email_address_parser::ParsingOptions [−][src]
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
Trait Implementations
Performs the conversion.
type Anchor = Ref<'static, ParsingOptions>
type Anchor = Ref<'static, ParsingOptions>
The type that holds the reference to Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous. Read more
Recover a Self::Anchor
from Self::Abi
. Read more
type Anchor = RefMut<'static, ParsingOptions>
type Anchor = RefMut<'static, ParsingOptions>
Same as RefFromWasmAbi::Anchor
Same as RefFromWasmAbi::ref_from_abi
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
Mutably borrows from an owned value. Read more
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
Same as IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
. Read more