pub struct ParserOptions {
pub auto_repair: bool,
pub allow_trailing_commas: bool,
pub allow_comments: bool,
pub allow_single_quotes: bool,
pub allow_unquoted_keys: bool,
pub max_repair_attempts: usize,
pub strict_mode: bool,
pub aggressive_truncation_repair: bool,
}Fields§
§auto_repair: bool§allow_trailing_commas: bool§allow_comments: bool§allow_single_quotes: bool§allow_unquoted_keys: bool§max_repair_attempts: usize§strict_mode: bool§aggressive_truncation_repair: boolTrait Implementations§
Source§impl Clone for ParserOptions
impl Clone for ParserOptions
Source§fn clone(&self) -> ParserOptions
fn clone(&self) -> ParserOptions
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 ParserOptions
impl Debug for ParserOptions
Auto Trait Implementations§
impl Freeze for ParserOptions
impl RefUnwindSafe for ParserOptions
impl Send for ParserOptions
impl Sync for ParserOptions
impl Unpin for ParserOptions
impl UnwindSafe for ParserOptions
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