Struct messy_json::MessyJsonObjectInner [−][src]
pub struct MessyJsonObjectInner { /* fields omitted */ }
Expand description
JSON Object schema value
Describe a JSON Object at runtime
Implementations
impl MessyJsonObjectInner
[src]
impl MessyJsonObjectInner
[src]pub fn new(properties: BTreeMap<KeyType, MessyJson>, optional: bool) -> Self
[src]
pub fn new(properties: BTreeMap<KeyType, MessyJson>, optional: bool) -> Self
[src]Create a new MessyJsonObject
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 MessyJsonObjectInner
[src]
impl Clone for MessyJsonObjectInner
[src]fn clone(&self) -> MessyJsonObjectInner
[src]
fn clone(&self) -> MessyJsonObjectInner
[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 MessyJsonObjectInner
[src]
impl Debug for MessyJsonObjectInner
[src]impl Default for MessyJsonObjectInner
[src]
impl Default for MessyJsonObjectInner
[src]fn default() -> MessyJsonObjectInner
[src]
fn default() -> MessyJsonObjectInner
[src]Returns the “default value” for a type. Read more
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 MessyJsonObjectInner
[src]
impl Hash for MessyJsonObjectInner
[src]impl PartialEq<MessyJsonObjectInner> for MessyJsonObjectInner
[src]
impl PartialEq<MessyJsonObjectInner> for MessyJsonObjectInner
[src]fn eq(&self, other: &MessyJsonObjectInner) -> bool
[src]
fn eq(&self, other: &MessyJsonObjectInner) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &MessyJsonObjectInner) -> bool
[src]
fn ne(&self, other: &MessyJsonObjectInner) -> bool
[src]This method tests for !=
.
impl Eq for MessyJsonObjectInner
[src]
impl StructuralEq for MessyJsonObjectInner
[src]
impl StructuralPartialEq for MessyJsonObjectInner
[src]
Auto Trait Implementations
impl RefUnwindSafe for MessyJsonObjectInner
impl Send for MessyJsonObjectInner
impl Sync for MessyJsonObjectInner
impl Unpin for MessyJsonObjectInner
impl UnwindSafe for MessyJsonObjectInner
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