#[non_exhaustive]pub struct JsonOptions {
pub encoding: String,
/* private fields */
}Expand description
Describes JSON data format.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.encoding: StringOptional. The character encoding of the data. Accepts “US-ASCII”, “UTF-8” and “ISO-8859-1”. Defaults to UTF-8 if not specified.
Implementations§
Trait Implementations§
Source§impl Clone for JsonOptions
impl Clone for JsonOptions
Source§fn clone(&self) -> JsonOptions
fn clone(&self) -> JsonOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 JsonOptions
impl Debug for JsonOptions
Source§impl Default for JsonOptions
impl Default for JsonOptions
Source§fn default() -> JsonOptions
fn default() -> JsonOptions
Returns the “default value” for a type. Read more
Source§impl Message for JsonOptions
impl Message for JsonOptions
Source§impl PartialEq for JsonOptions
impl PartialEq for JsonOptions
impl StructuralPartialEq for JsonOptions
Auto Trait Implementations§
impl Freeze for JsonOptions
impl RefUnwindSafe for JsonOptions
impl Send for JsonOptions
impl Sync for JsonOptions
impl Unpin for JsonOptions
impl UnsafeUnpin for JsonOptions
impl UnwindSafe for JsonOptions
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