Struct messy_json::MessyJsonObject [−][src]
pub struct MessyJsonObject(_);
Expand description
Wrapper for MessyJsonObjectInner
Wrapping it in an Arc
Implementations
impl MessyJsonObject
[src]
impl MessyJsonObject
[src]pub fn builder(&self, settings: MessyJsonSettings) -> MessyJsonObjectBuilder
[src]
pub fn builder(&self, settings: MessyJsonSettings) -> MessyJsonObjectBuilder
[src]Create a builder object from the current object
Methods from Deref<Target = MessyJsonObjectInner>
pub fn properties(&self) -> &BTreeMap<KeyType, MessyJson>
[src]
pub fn properties(&self) -> &BTreeMap<KeyType, MessyJson>
[src]Get a reference to the MessyJsonObject’s properties
pub fn has_field(&self, key: &str) -> bool
[src]
pub fn has_field(&self, key: &str) -> bool
[src]Get a reference to the MessyJsonObject’s properties
Trait Implementations
impl Clone for MessyJsonObject
[src]
impl Clone for MessyJsonObject
[src]fn clone(&self) -> MessyJsonObject
[src]
fn clone(&self) -> MessyJsonObject
[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 MessyJsonObject
[src]
impl Debug for MessyJsonObject
[src]impl Default for MessyJsonObject
[src]
impl Default for MessyJsonObject
[src]fn default() -> MessyJsonObject
[src]
fn default() -> MessyJsonObject
[src]Returns the “default value” for a type. Read more
impl Deref for MessyJsonObject
[src]
impl Deref for MessyJsonObject
[src]type Target = MessyJsonObjectInner
type Target = MessyJsonObjectInner
The resulting type after dereferencing.
impl From<&'_ MessyJsonObject> for MessyJsonInner
[src]
impl From<&'_ MessyJsonObject> for MessyJsonInner
[src]fn from(x: &MessyJsonObject) -> Self
[src]
fn from(x: &MessyJsonObject) -> Self
[src]Performs the conversion.
impl From<MessyJsonObject> for MessyJsonInner
[src]
impl From<MessyJsonObject> for MessyJsonInner
[src]fn from(x: MessyJsonObject) -> Self
[src]
fn from(x: MessyJsonObject) -> Self
[src]Performs the conversion.
impl From<MessyJsonObjectInner> for MessyJsonObject
[src]
impl From<MessyJsonObjectInner> for MessyJsonObject
[src]fn from(x: MessyJsonObjectInner) -> Self
[src]
fn from(x: MessyJsonObjectInner) -> Self
[src]Performs the conversion.
impl Hash for MessyJsonObject
[src]
impl Hash for MessyJsonObject
[src]impl PartialEq<MessyJsonObject> for MessyJsonObject
[src]
impl PartialEq<MessyJsonObject> for MessyJsonObject
[src]fn eq(&self, other: &MessyJsonObject) -> bool
[src]
fn eq(&self, other: &MessyJsonObject) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &MessyJsonObject) -> bool
[src]
fn ne(&self, other: &MessyJsonObject) -> bool
[src]This method tests for !=
.
impl Eq for MessyJsonObject
[src]
impl StructuralEq for MessyJsonObject
[src]
impl StructuralPartialEq for MessyJsonObject
[src]
Auto Trait Implementations
impl RefUnwindSafe for MessyJsonObject
impl Send for MessyJsonObject
impl Sync for MessyJsonObject
impl Unpin for MessyJsonObject
impl UnwindSafe for MessyJsonObject
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