pub struct ObjectNode {
pub properties: BTreeMap<String, ObjectProperty>,
}
Fields§
§properties: BTreeMap<String, ObjectProperty>
Implementations§
Source§impl ObjectNode
impl ObjectNode
pub fn new(properties: BTreeMap<String, ObjectProperty>) -> Self
Trait Implementations§
Source§impl Clone for ObjectNode
impl Clone for ObjectNode
Source§fn clone(&self) -> ObjectNode
fn clone(&self) -> ObjectNode
Returns a copy 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 ObjectNode
impl Debug for ObjectNode
Source§impl From<ObjectNode> for NodeType
impl From<ObjectNode> for NodeType
Source§fn from(o: ObjectNode) -> Self
fn from(o: ObjectNode) -> Self
Converts to this type from the input type.
Source§impl Ord for ObjectNode
impl Ord for ObjectNode
Source§fn cmp(&self, other: &ObjectNode) -> Ordering
fn cmp(&self, other: &ObjectNode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ObjectNode
impl PartialEq for ObjectNode
Source§impl PartialOrd for ObjectNode
impl PartialOrd for ObjectNode
impl Eq for ObjectNode
impl StructuralPartialEq for ObjectNode
Auto Trait Implementations§
impl Freeze for ObjectNode
impl RefUnwindSafe for ObjectNode
impl Send for ObjectNode
impl Sync for ObjectNode
impl Unpin for ObjectNode
impl UnwindSafe for ObjectNode
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