pub struct ParseOptions {
pub parse_array: bool,
pub keep_object_raw_data: bool,
pub max_depth: u8,
pub start_parse_at: Option<String>,
pub start_depth: u8,
pub prefix: Option<String>,
}
Fields§
§parse_array: bool
§keep_object_raw_data: bool
§max_depth: u8
§start_parse_at: Option<String>
§start_depth: u8
§prefix: Option<String>
Implementations§
Source§impl ParseOptions
impl ParseOptions
pub fn parse_array(self, parse_array: bool) -> Self
pub fn start_parse_at(self, pointer: String) -> Self
pub fn start_depth(self, depth: u8) -> Self
pub fn max_depth(self, max_depth: u8) -> Self
pub fn prefix(self, prefix: String) -> Self
pub fn keep_object_raw_data(self, keep_object_raw_data: bool) -> 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 moreAuto 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