pub struct RootSchema {
pub definitions: BTreeMap<String, Schema>,
pub schema: Schema,
}
Expand description
The top level of a JSON Typedef schema.
Fields§
§definitions: BTreeMap<String, Schema>
The top-level definitions.
schema: Schema
The 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§impl Serialize for RootSchema
impl Serialize for RootSchema
impl Eq for RootSchema
impl StructuralPartialEq for RootSchema
Auto Trait Implementations§
impl Freeze for RootSchema
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