Enum open_rpc_schema::document::JSONSchema
source · pub enum JSONSchema {
JsonSchemaObject(RootSchema),
JSONSchemaBoolean(bool),
}Expand description
JSONSchemaBoolean
Always valid if true. Never valid if false. Is constant.
Variants§
JsonSchemaObject(RootSchema)
JSONSchemaBoolean(bool)
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<'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