pub enum IssueKind {
UnknownElement,
UnknownAttribute,
UnknownType,
MissingType,
InvalidValue,
UnexpectedText,
TooMany,
}Expand description
What kind of content could not be carried over.
Variants§
UnknownElement
An element the model does not have.
UnknownAttribute
An attribute the model does not have.
UnknownType
A type (xsi:type, "@type") the model does not have, or one that does not fit.
MissingType
A polymorphic element without a type.
InvalidValue
A value that does not fit its type, kept as text.
UnexpectedText
Text where the model has none.
TooMany
More values than the element allows.
Trait Implementations§
impl Copy for IssueKind
impl Eq for IssueKind
impl StructuralPartialEq for IssueKind
Auto Trait Implementations§
impl Freeze for IssueKind
impl RefUnwindSafe for IssueKind
impl Send for IssueKind
impl Sync for IssueKind
impl Unpin for IssueKind
impl UnsafeUnpin for IssueKind
impl UnwindSafe for IssueKind
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.