pub struct AnyOfSchema { /* private fields */ }Expand description
A schema that matches any of the composite schemas
Implementations§
Source§impl AnyOfSchema
impl AnyOfSchema
Sourcepub fn new(any_of: impl IntoIterator<Item = SchemaType>) -> Self
pub fn new(any_of: impl IntoIterator<Item = SchemaType>) -> Self
Create a new any of schema
Trait 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
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