pub struct JsonStream { /* private fields */ }Available on crate feature
jsonstream only.Expand description
Represents a stream of JSON data, allowing for efficient navigation and manipulation.
Implementations§
Source§impl JsonStream
impl JsonStream
pub fn new<'a, I: IntoIterator<Item = &'a Value>>(iter: I) -> Self
Source§impl JsonStream
impl JsonStream
Sourcepub fn extract_rows_from_current(&self, n: usize) -> Vec<Row>
pub fn extract_rows_from_current(&self, n: usize) -> Vec<Row>
Extracts a specified number of rows from the current position in JSON stream.
Sourcepub fn set_nodes_visibility(&mut self, collapsed: bool)
pub fn set_nodes_visibility(&mut self, collapsed: bool)
Sets the visibility of all rows in JSON stream.
Trait Implementations§
Source§impl Clone for JsonStream
impl Clone for JsonStream
Source§fn clone(&self) -> JsonStream
fn clone(&self) -> JsonStream
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 JsonStream
impl RefUnwindSafe for JsonStream
impl Send for JsonStream
impl Sync for JsonStream
impl Unpin for JsonStream
impl UnsafeUnpin for JsonStream
impl UnwindSafe for JsonStream
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more