pub struct DefaultDenyUnknownFields;Expand description
Defaults additionalProperties to true, as if #[schemars(deny_unknown_fields)] was on every
struct. Skips structs that have additionalProperties set (such as if #[serde(flatten)] is used
on a map).
Trait Implementations§
Source§impl Clone for DefaultDenyUnknownFields
impl Clone for DefaultDenyUnknownFields
Auto Trait Implementations§
impl Freeze for DefaultDenyUnknownFields
impl RefUnwindSafe for DefaultDenyUnknownFields
impl Send for DefaultDenyUnknownFields
impl Sync for DefaultDenyUnknownFields
impl Unpin for DefaultDenyUnknownFields
impl UnsafeUnpin for DefaultDenyUnknownFields
impl UnwindSafe for DefaultDenyUnknownFields
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> GenTransform for T
impl<T> GenTransform for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more