[−][src]Struct schemars::schema::SubschemaValidation
Properties of a SchemaObject
which define validation assertions in terms of other schemas.
Fields
all_of: Option<Vec<Schema>>
The allOf
keyword.
any_of: Option<Vec<Schema>>
The anyOf
keyword.
one_of: Option<Vec<Schema>>
The oneOf
keyword.
not: Option<Box<Schema>>
The not
keyword.
if_schema: Option<Box<Schema>>
The if
keyword.
then_schema: Option<Box<Schema>>
The then
keyword.
else_schema: Option<Box<Schema>>
The else
keyword.
Trait Implementations
impl Clone for SubschemaValidation
[src]
fn clone(&self) -> SubschemaValidation
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SubschemaValidation
[src]
impl Default for SubschemaValidation
[src]
fn default() -> SubschemaValidation
[src]
impl<'de> Deserialize<'de> for SubschemaValidation where
SubschemaValidation: Default,
[src]
SubschemaValidation: Default,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl JsonSchema for SubschemaValidation
[src]
fn schema_name() -> String
[src]
fn json_schema(gen: &mut SchemaGenerator) -> Schema
[src]
fn is_referenceable() -> bool
[src]
impl PartialEq<SubschemaValidation> for SubschemaValidation
[src]
fn eq(&self, other: &SubschemaValidation) -> bool
[src]
fn ne(&self, other: &SubschemaValidation) -> bool
[src]
impl Serialize for SubschemaValidation
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for SubschemaValidation
[src]
Auto Trait Implementations
impl RefUnwindSafe for SubschemaValidation
impl Send for SubschemaValidation
impl Sync for SubschemaValidation
impl Unpin for SubschemaValidation
impl UnwindSafe for SubschemaValidation
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,