pub struct JsonArray {}
Expand description
Produces JSON output as a single JSON array. For example
[{"foo":1},{"bar":1}]
Trait Implementations
sourceimpl JsonFormat for JsonArray
impl JsonFormat for JsonArray
sourcefn start_stream<W: Write>(&self, writer: &mut W) -> Result<()>
fn start_stream<W: Write>(&self, writer: &mut W) -> Result<()>
write any bytes needed at the start of the file to the writer
sourcefn start_row<W: Write>(&self, writer: &mut W, is_first_row: bool) -> Result<()>
fn start_row<W: Write>(&self, writer: &mut W, is_first_row: bool) -> Result<()>
write any bytes needed for the start of each row
Auto Trait Implementations
impl RefUnwindSafe for JsonArray
impl Send for JsonArray
impl Sync for JsonArray
impl Unpin for JsonArray
impl UnwindSafe for JsonArray
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more