pub struct JsonSchemaSpec {
pub name: String,
pub description: Option<String>,
pub schema: Value,
pub strict: Option<bool>,
}
Fields§
§name: String
§description: Option<String>
§schema: Value
§strict: Option<bool>
Trait Implementations§
Source§impl Clone for JsonSchemaSpec
impl Clone for JsonSchemaSpec
Source§fn clone(&self) -> JsonSchemaSpec
fn clone(&self) -> JsonSchemaSpec
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 JsonSchemaSpec
impl Debug for JsonSchemaSpec
Source§impl<'de> Deserialize<'de> for JsonSchemaSpec
impl<'de> Deserialize<'de> for JsonSchemaSpec
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 JsonSchemaSpec
impl RefUnwindSafe for JsonSchemaSpec
impl Send for JsonSchemaSpec
impl Sync for JsonSchemaSpec
impl Unpin for JsonSchemaSpec
impl UnwindSafe for JsonSchemaSpec
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