[−][src]Struct json_spanned_value::Settings
Deserialization/parsing settings
Fields
allow_duplicate_keys: bool
Allow duplicate JSON object/map keys when deserializing Maps, such as: {"a": 1, "a": 2}
. Only one value will be retained.
default: false
allow_trailing_comma: bool
Allow trailing commas when deserializing an array such as [1, 2, 3,]
or object such as {"a", 1, "b": 2,}
.
allow_comments: bool
Allow // single line
or /* block */
comments.
Trait Implementations
impl Clone for Settings
[src]
impl Copy for Settings
[src]
impl Debug for Settings
[src]
impl Default for Settings
[src]
Auto Trait Implementations
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,