pub struct JsonArray {}
Expand description
Produces JSON output as a single JSON array.
For example:
[{"foo":1},{"bar":1}]
Trait Implementations§
Source§impl JsonFormat for JsonArray
impl JsonFormat for JsonArray
Source§fn start_stream<W>(&self, writer: &mut W) -> Result<(), ArrowError>where
W: Write,
fn start_stream<W>(&self, writer: &mut W) -> Result<(), ArrowError>where
W: Write,
write any bytes needed at the start of the file to the writer
Source§fn start_row<W>(
&self,
writer: &mut W,
is_first_row: bool,
) -> Result<(), ArrowError>where
W: Write,
fn start_row<W>(
&self,
writer: &mut W,
is_first_row: bool,
) -> Result<(), ArrowError>where
W: Write,
write any bytes needed for the start of each row
Source§fn end_stream<W>(&self, writer: &mut W) -> Result<(), ArrowError>where
W: Write,
fn end_stream<W>(&self, writer: &mut W) -> Result<(), ArrowError>where
W: Write,
write any bytes needed for the start of each row
Auto Trait Implementations§
impl Freeze for JsonArray
impl RefUnwindSafe for JsonArray
impl Send for JsonArray
impl Sync for JsonArray
impl Unpin for JsonArray
impl UnwindSafe for JsonArray
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> 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