pub struct JsonFormat {
pub pretty: bool,
}Expand description
Struct representing the format-ende implementation for the JSON format
Fields§
§pretty: boolImplementations§
Source§impl JsonFormat
impl JsonFormat
Trait Implementations§
Source§impl Clone for JsonFormat
impl Clone for JsonFormat
Source§fn clone(&self) -> JsonFormat
fn clone(&self) -> JsonFormat
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 JsonFormat
impl Debug for JsonFormat
Source§impl Default for JsonFormat
impl Default for JsonFormat
Source§impl<V> FormatDecoder<V> for JsonFormatwhere
V: DeserializeOwned,
impl<V> FormatDecoder<V> for JsonFormatwhere
V: DeserializeOwned,
Source§type DecodeError = Error
type DecodeError = Error
The error type that can occur during decoding
Source§impl<V> FormatEncoder<V> for JsonFormat
impl<V> FormatEncoder<V> for JsonFormat
Source§impl FormatInfo for JsonFormat
impl FormatInfo for JsonFormat
Source§impl Hash for JsonFormat
impl Hash for JsonFormat
Source§impl PartialEq for JsonFormat
impl PartialEq for JsonFormat
Source§fn eq(&self, other: &JsonFormat) -> bool
fn eq(&self, other: &JsonFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for JsonFormat
impl Eq for JsonFormat
impl StructuralPartialEq for JsonFormat
Auto Trait Implementations§
impl Freeze for JsonFormat
impl RefUnwindSafe for JsonFormat
impl Send for JsonFormat
impl Sync for JsonFormat
impl Unpin for JsonFormat
impl UnsafeUnpin for JsonFormat
impl UnwindSafe for JsonFormat
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, V, E> FormatDecoderDyn<V, E> for T
impl<T, V, E> FormatDecoderDyn<V, E> for T
Source§fn decode_dyn(&mut self, reader: &mut dyn Read) -> Result<V, E>
fn decode_dyn(&mut self, reader: &mut dyn Read) -> Result<V, E>
Decodes a value from the provided reader