pub enum SpecViolation {
EmptyRequired,
EmptyAllOf,
EmptyOneOf,
}
Variants§
EmptyRequired
https://datatracker.ietf.org/doc/html/draft-wright-json-schema-validation-00#section-5.15
This array MUST have at least one element
EmptyAllOf
https://datatracker.ietf.org/doc/html/draft-wright-json-schema-validation-00#section-5.22
This array MUST have at least one element
EmptyOneOf
https://datatracker.ietf.org/doc/html/draft-wright-json-schema-validation-00#section-5.24
This array MUST have at least one element
Trait Implementations§
Source§impl Clone for SpecViolation
impl Clone for SpecViolation
Source§fn clone(&self) -> SpecViolation
fn clone(&self) -> SpecViolation
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 SpecViolation
impl Debug for SpecViolation
Source§impl From<SpecViolation> for Error
impl From<SpecViolation> for Error
Source§fn from(reason: SpecViolation) -> Self
fn from(reason: SpecViolation) -> Self
Converts to this type from the input type.
Source§impl From<SpecViolation> for SpecViolation
impl From<SpecViolation> for SpecViolation
Source§fn from(reason: SpecViolation) -> Self
fn from(reason: SpecViolation) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SpecViolation
impl PartialEq for SpecViolation
impl StructuralPartialEq for SpecViolation
Auto Trait Implementations§
impl Freeze for SpecViolation
impl RefUnwindSafe for SpecViolation
impl Send for SpecViolation
impl Sync for SpecViolation
impl Unpin for SpecViolation
impl UnwindSafe for SpecViolation
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