Enum kanidm_proto::v1::SchemaError
source · pub enum SchemaError {
NotImplemented,
NoClassFound,
InvalidClass(Vec<String>),
MissingMustAttribute(Vec<String>),
InvalidAttribute(String),
InvalidAttributeSyntax(String),
AttributeNotValidForClass(String),
SupplementsNotSatisfied(Vec<String>),
ExcludesNotSatisfied(Vec<String>),
EmptyFilter,
Corrupted,
PhantomAttribute(String),
}
Variants§
NotImplemented
NoClassFound
InvalidClass(Vec<String>)
MissingMustAttribute(Vec<String>)
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§fn eq(&self, other: &SchemaError) -> bool
fn eq(&self, other: &SchemaError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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 RefUnwindSafe for SchemaError
impl Send for SchemaError
impl Sync for SchemaError
impl Unpin for SchemaError
impl UnwindSafe for SchemaError
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
§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
Checks if this value is equivalent to the given key. 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.