pub struct SherpSchema {
pub schema_version: String,
pub title: Option<String>,
pub description: Option<String>,
pub properties: HashMap<String, SherpProperty>,
}Expand description
Root schema definition in simplified format
Fields§
§schema_version: StringSchema format identifier
title: Option<String>Optional schema title
description: Option<String>Optional schema description
properties: HashMap<String, SherpProperty>Property definitions
Trait Implementations§
Source§impl Clone for SherpSchema
impl Clone for SherpSchema
Source§fn clone(&self) -> SherpSchema
fn clone(&self) -> SherpSchema
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 SherpSchema
impl Debug for SherpSchema
Source§impl<'de> Deserialize<'de> for SherpSchema
impl<'de> Deserialize<'de> for SherpSchema
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SherpSchema
impl RefUnwindSafe for SherpSchema
impl Send for SherpSchema
impl Sync for SherpSchema
impl Unpin for SherpSchema
impl UnwindSafe for SherpSchema
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