pub struct NotSchema {
pub not: Box<JsonSchema>,
pub metadata: SchemaMetadata,
}Expand description
Not schema (must not match the schema)
Fields§
§not: Box<JsonSchema>§metadata: SchemaMetadataTrait Implementations§
Source§impl<'de> Deserialize<'de> for NotSchema
impl<'de> Deserialize<'de> for NotSchema
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
impl StructuralPartialEq for NotSchema
Auto Trait Implementations§
impl Freeze for NotSchema
impl RefUnwindSafe for NotSchema
impl Send for NotSchema
impl Sync for NotSchema
impl Unpin for NotSchema
impl UnwindSafe for NotSchema
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