pub struct ParseOptions {
pub mode: ParseMode,
pub auto_threshold: u64,
pub resolve_references: bool,
pub include_raw: bool,
pub max_memory: usize,
pub timeout_ms: u64,
pub allow_blocking: bool,
pub include_raw_extensions: bool,
pub include_comments: bool,
pub preserve_unknown_elements: bool,
pub chunk_size: usize,
}
Expand description
Main parser options
Fields§
§mode: ParseMode
§auto_threshold: u64
§resolve_references: bool
§include_raw: bool
§max_memory: usize
§timeout_ms: u64
§allow_blocking: bool
§include_raw_extensions: bool
§include_comments: bool
§preserve_unknown_elements: bool
§chunk_size: usize
Implementations§
Source§impl ParseOptions
impl ParseOptions
pub fn with_extensions() -> Self
pub fn for_round_trip() -> Self
Trait Implementations§
Source§impl Clone for ParseOptions
impl Clone for ParseOptions
Source§fn clone(&self) -> ParseOptions
fn clone(&self) -> ParseOptions
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 ParseOptions
impl Debug for ParseOptions
Auto Trait Implementations§
impl Freeze for ParseOptions
impl RefUnwindSafe for ParseOptions
impl Send for ParseOptions
impl Sync for ParseOptions
impl Unpin for ParseOptions
impl UnwindSafe for ParseOptions
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