pub struct NdjsonPage {
pub text: String,
pub lines: Vec<Value>,
pub next_cursor: Option<u64>,
}Expand description
An NDJSON export page: the raw text, each line parsed, and the cursor to pass as after for the next page.
Fields§
§text: String§lines: Vec<Value>§next_cursor: Option<u64>Trait Implementations§
Source§impl Clone for NdjsonPage
impl Clone for NdjsonPage
Source§fn clone(&self) -> NdjsonPage
fn clone(&self) -> NdjsonPage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NdjsonPage
impl Debug for NdjsonPage
Source§impl PartialEq for NdjsonPage
impl PartialEq for NdjsonPage
Source§fn eq(&self, other: &NdjsonPage) -> bool
fn eq(&self, other: &NdjsonPage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NdjsonPage
Auto Trait Implementations§
impl Freeze for NdjsonPage
impl RefUnwindSafe for NdjsonPage
impl Send for NdjsonPage
impl Sync for NdjsonPage
impl Unpin for NdjsonPage
impl UnsafeUnpin for NdjsonPage
impl UnwindSafe for NdjsonPage
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