pub struct AnyOfSchema {
pub schemas: Vec<JsonSchema>,
pub metadata: SchemaMetadata,
}Expand description
AnyOf schema (at least one schema must match)
Fields§
§schemas: Vec<JsonSchema>§metadata: SchemaMetadataTrait Implementations§
Source§impl Clone for AnyOfSchema
impl Clone for AnyOfSchema
Source§fn clone(&self) -> AnyOfSchema
fn clone(&self) -> AnyOfSchema
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 AnyOfSchema
impl Debug for AnyOfSchema
Source§impl Default for AnyOfSchema
impl Default for AnyOfSchema
Source§fn default() -> AnyOfSchema
fn default() -> AnyOfSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AnyOfSchema
impl<'de> Deserialize<'de> for AnyOfSchema
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 AnyOfSchema
impl PartialEq for AnyOfSchema
Source§impl Serialize for AnyOfSchema
impl Serialize for AnyOfSchema
impl StructuralPartialEq for AnyOfSchema
Auto Trait Implementations§
impl Freeze for AnyOfSchema
impl RefUnwindSafe for AnyOfSchema
impl Send for AnyOfSchema
impl Sync for AnyOfSchema
impl Unpin for AnyOfSchema
impl UnwindSafe for AnyOfSchema
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