Struct jtd_derive::schema::RootSchema
source · pub struct RootSchema {
pub definitions: HashMap<String, Schema>,
pub schema: Schema,
}Expand description
The top level of a JSON Typedef schema.
Fields§
§definitions: HashMap<String, Schema>The top-level definitions.
schema: SchemaThe top-level schema.
Trait Implementations§
source§impl Clone for RootSchema
impl Clone for RootSchema
source§fn clone(&self) -> RootSchema
fn clone(&self) -> RootSchema
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 RootSchema
impl Debug for RootSchema
source§impl PartialEq for RootSchema
impl PartialEq for RootSchema
source§fn eq(&self, other: &RootSchema) -> bool
fn eq(&self, other: &RootSchema) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for RootSchema
impl Serialize for RootSchema
impl Eq for RootSchema
impl StructuralEq for RootSchema
impl StructuralPartialEq for RootSchema
Auto Trait Implementations§
impl RefUnwindSafe for RootSchema
impl Send for RootSchema
impl Sync for RootSchema
impl Unpin for RootSchema
impl UnwindSafe for RootSchema
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