pub enum SchemaError {
NotImplemented,
NoClassFound,
InvalidClass(Vec<String>),
MissingMustAttribute(Vec<Attribute>),
InvalidAttribute(String),
InvalidAttributeSyntax(String),
AttributeNotValidForClass(String),
SupplementsNotSatisfied(Vec<String>),
ExcludesNotSatisfied(Vec<String>),
EmptyFilter,
Corrupted,
PhantomAttribute(String),
}
Variants§
NotImplemented
NoClassFound
InvalidClass(Vec<String>)
MissingMustAttribute(Vec<Attribute>)
InvalidAttribute(String)
InvalidAttributeSyntax(String)
AttributeNotValidForClass(String)
SupplementsNotSatisfied(Vec<String>)
ExcludesNotSatisfied(Vec<String>)
EmptyFilter
Corrupted
PhantomAttribute(String)
Trait Implementations§
source§impl Debug for SchemaError
impl Debug for SchemaError
source§impl<'de> Deserialize<'de> for SchemaError
impl<'de> Deserialize<'de> for SchemaError
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 SchemaError
impl PartialEq for SchemaError
source§impl Serialize for SchemaError
impl Serialize for SchemaError
source§impl<'__s> ToSchema<'__s> for SchemaError
impl<'__s> ToSchema<'__s> for SchemaError
impl Eq for SchemaError
impl StructuralPartialEq for SchemaError
Auto Trait Implementations§
impl Freeze for SchemaError
impl RefUnwindSafe for SchemaError
impl Send for SchemaError
impl Sync for SchemaError
impl Unpin for SchemaError
impl UnwindSafe for SchemaError
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.