Struct jtd_derive::schema::RootSchema
source · Expand description
The top level of a JSON Typedef schema.
Fields§
§definitions: HashMap<&'static str, 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<RootSchema> for RootSchema
impl PartialEq<RootSchema> 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 ==.