pub struct ParseResult<V: Debug + Clone + AsRef<str> + GetBytes> {
pub json: Vec<FlatJsonValue<V>>,
pub max_json_depth: usize,
pub parsing_max_depth: u8,
pub started_parsing_at: Option<String>,
pub started_parsing_at_index_start: usize,
pub started_parsing_at_index_end: usize,
pub parsing_prefix: Option<String>,
pub depth_after_start_at: u8,
}
Fields§
§json: Vec<FlatJsonValue<V>>
§max_json_depth: usize
§parsing_max_depth: u8
§started_parsing_at: Option<String>
§started_parsing_at_index_start: usize
§started_parsing_at_index_end: usize
§parsing_prefix: Option<String>
§depth_after_start_at: u8
Implementations§
Source§impl ParseResult<String>
impl ParseResult<String>
pub fn clone_except_json(&self) -> Self
pub fn to_owned(self) -> ParseResult<String>
Source§impl ParseResult<&str>
impl ParseResult<&str>
pub fn clone_except_json(&self) -> Self
pub fn to_owned(self) -> ParseResult<String>
Trait Implementations§
Auto Trait Implementations§
impl<V> Freeze for ParseResult<V>
impl<V> RefUnwindSafe for ParseResult<V>where
V: RefUnwindSafe,
impl<V> Send for ParseResult<V>where
V: Send,
impl<V> Sync for ParseResult<V>where
V: Sync,
impl<V> Unpin for ParseResult<V>where
V: Unpin,
impl<V> UnwindSafe for ParseResult<V>where
V: UnwindSafe,
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