pub struct JsonGeneratorOptions { /* private fields */ }
Implementations§
Source§impl JsonGeneratorOptions
impl JsonGeneratorOptions
pub fn pretty_print(self, pretty_print: bool) -> Self
Trait Implementations§
Source§impl Clone for JsonGeneratorOptions
impl Clone for JsonGeneratorOptions
Source§fn clone(&self) -> JsonGeneratorOptions
fn clone(&self) -> JsonGeneratorOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for JsonGeneratorOptions
impl Debug for JsonGeneratorOptions
Source§impl Default for JsonGeneratorOptions
impl Default for JsonGeneratorOptions
Source§fn default() -> JsonGeneratorOptions
fn default() -> JsonGeneratorOptions
Returns the “default value” for a type. Read more
Source§impl Hash for JsonGeneratorOptions
impl Hash for JsonGeneratorOptions
Source§impl PartialEq for JsonGeneratorOptions
impl PartialEq for JsonGeneratorOptions
impl Copy for JsonGeneratorOptions
impl Eq for JsonGeneratorOptions
impl StructuralPartialEq for JsonGeneratorOptions
Auto Trait Implementations§
impl Freeze for JsonGeneratorOptions
impl RefUnwindSafe for JsonGeneratorOptions
impl Send for JsonGeneratorOptions
impl Sync for JsonGeneratorOptions
impl Unpin for JsonGeneratorOptions
impl UnwindSafe for JsonGeneratorOptions
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