pub enum JsonStructure {
NamedStructure(NamedStructure),
NameKeyedStructure {
name: ExpandedName,
props: BTreeMap<ExpandedName, StructureProperty>,
},
EntityList(Vec<EntitySpec>),
}Variants§
Trait Implementations§
Source§impl Clone for JsonStructure
impl Clone for JsonStructure
Source§fn clone(&self) -> JsonStructure
fn clone(&self) -> JsonStructure
Returns a duplicate 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 JsonStructure
impl Debug for JsonStructure
Source§impl PartialEq for JsonStructure
impl PartialEq for JsonStructure
Source§impl Serialize for JsonStructure
impl Serialize for JsonStructure
impl StructuralPartialEq for JsonStructure
Auto Trait Implementations§
impl Freeze for JsonStructure
impl RefUnwindSafe for JsonStructure
impl Send for JsonStructure
impl Sync for JsonStructure
impl Unpin for JsonStructure
impl UnsafeUnpin for JsonStructure
impl UnwindSafe for JsonStructure
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