pub enum JSONEntity {
Object {
properties: Vec<JSONProperty>,
},
Union {
blocks: Vec<JSONBlock>,
},
Array {
blocks: Vec<JSONBlock>,
},
Tuple {
blocks: Vec<JSONBlock>,
},
Literal {
value: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for JSONEntity
impl Clone for JSONEntity
Source§fn clone(&self) -> JSONEntity
fn clone(&self) -> JSONEntity
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 moreAuto Trait Implementations§
impl Freeze for JSONEntity
impl RefUnwindSafe for JSONEntity
impl Send for JSONEntity
impl Sync for JSONEntity
impl Unpin for JSONEntity
impl UnsafeUnpin for JSONEntity
impl UnwindSafe for JSONEntity
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