pub struct AnyOfSchema {
pub any_of: Vec<Schema>,
}Expand description
Inclusive union, used for nullable types whose inner schema may allow null.
Fields§
§any_of: Vec<Schema>Alternatives; a value must match at least one.
Trait Implementations§
Source§impl Clone for AnyOfSchema
impl Clone for AnyOfSchema
Source§impl Debug for AnyOfSchema
impl Debug for AnyOfSchema
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
Auto Trait Implementations§
impl Forget for AnyOfSchema
impl Freeze for AnyOfSchema
impl Move for AnyOfSchema
impl RefUnwindSafe for AnyOfSchema
impl Send for AnyOfSchema
impl Sync for AnyOfSchema
impl Unpin for AnyOfSchema
impl UnsafeUnpin 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