pub struct JsonPick<'a> {
pub doc: &'a str,
pub path: String,
pub range: [usize; 2],
}Expand description
A value inside JSON text.
Fields§
§doc: &'a strThe whole JSON document.
path: StringThe path within the document (the segments after the text’s holder).
range: [usize; 2]The selected value’s byte range in doc.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for JsonPick<'a>
impl<'a> Freeze for JsonPick<'a>
impl<'a> Move for JsonPick<'a>
impl<'a> RefUnwindSafe for JsonPick<'a>
impl<'a> Send for JsonPick<'a>
impl<'a> Sync for JsonPick<'a>where
RawVecInner: Sync,
impl<'a> Unpin for JsonPick<'a>
impl<'a> UnsafeUnpin for JsonPick<'a>
impl<'a> UnwindSafe for JsonPick<'a>
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