Enum json_schema::JSONSchema
source · pub enum JSONSchema {
JSONSchemaObject(JSONSchemaObject),
JSONSchemaBoolean(JSONSchemaBoolean),
}
Variants§
JSONSchemaObject(JSONSchemaObject)
JSONSchemaBoolean(JSONSchemaBoolean)
Trait Implementations§
source§impl Clone for JSONSchema
impl Clone for JSONSchema
source§fn clone(&self) -> JSONSchema
fn clone(&self) -> JSONSchema
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 JSONSchema
impl Debug for JSONSchema
source§impl<'de> Deserialize<'de> for JSONSchema
impl<'de> Deserialize<'de> for JSONSchema
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
source§impl PartialEq for JSONSchema
impl PartialEq for JSONSchema
source§fn eq(&self, other: &JSONSchema) -> bool
fn eq(&self, other: &JSONSchema) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for JSONSchema
impl Serialize for JSONSchema
impl StructuralPartialEq for JSONSchema
Auto Trait Implementations§
impl Freeze for JSONSchema
impl RefUnwindSafe for JSONSchema
impl Send for JSONSchema
impl Sync for JSONSchema
impl Unpin for JSONSchema
impl UnwindSafe for JSONSchema
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