Struct messy_json::MessyJsonSettings [−][src]
Expand description
Setting object for deserializing
Fields
all_optional: bool
True if all field should be considered optional.
preserve_mandatory: bool
Ensure that mandatory field are not set to null explicitely when deserializing.
Ignored if all_optional
is false
Implementations
impl MessyJsonSettings
[src]
impl MessyJsonSettings
[src]pub fn all_optional(&self) -> bool
[src]
pub fn preserve_mandatory(&self) -> bool
[src]
Trait Implementations
impl Clone for MessyJsonSettings
[src]
impl Clone for MessyJsonSettings
[src]fn clone(&self) -> MessyJsonSettings
[src]
fn clone(&self) -> MessyJsonSettings
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for MessyJsonSettings
[src]
impl Debug for MessyJsonSettings
[src]impl Default for MessyJsonSettings
[src]
impl Default for MessyJsonSettings
[src]fn default() -> MessyJsonSettings
[src]
fn default() -> MessyJsonSettings
[src]Returns the “default value” for a type. Read more
impl PartialEq<MessyJsonSettings> for MessyJsonSettings
[src]
impl PartialEq<MessyJsonSettings> for MessyJsonSettings
[src]fn eq(&self, other: &MessyJsonSettings) -> bool
[src]
fn eq(&self, other: &MessyJsonSettings) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &MessyJsonSettings) -> bool
[src]
fn ne(&self, other: &MessyJsonSettings) -> bool
[src]This method tests for !=
.
impl Copy for MessyJsonSettings
[src]
impl Eq for MessyJsonSettings
[src]
impl StructuralEq for MessyJsonSettings
[src]
impl StructuralPartialEq for MessyJsonSettings
[src]
Auto Trait Implementations
impl RefUnwindSafe for MessyJsonSettings
impl Send for MessyJsonSettings
impl Sync for MessyJsonSettings
impl Unpin for MessyJsonSettings
impl UnwindSafe for MessyJsonSettings
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more