pub enum SchemaWarning {
UnknownTypeName {
name: String,
location: String,
},
}Expand description
A non-fatal validation warning emitted by Style::validate.
Variants§
UnknownTypeName
A TypeSelector references an unrecognized reference type name.
This usually indicates a typo (e.g., article_journal instead of
article-journal). The selector will silently match nothing at
render time.
Trait Implementations§
Source§impl Clone for SchemaWarning
impl Clone for SchemaWarning
Source§fn clone(&self) -> SchemaWarning
fn clone(&self) -> SchemaWarning
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SchemaWarning
impl Debug for SchemaWarning
Source§impl Display for SchemaWarning
impl Display for SchemaWarning
Source§impl PartialEq for SchemaWarning
impl PartialEq for SchemaWarning
Source§fn eq(&self, other: &SchemaWarning) -> bool
fn eq(&self, other: &SchemaWarning) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SchemaWarning
Auto Trait Implementations§
impl Freeze for SchemaWarning
impl RefUnwindSafe for SchemaWarning
impl Send for SchemaWarning
impl Sync for SchemaWarning
impl Unpin for SchemaWarning
impl UnsafeUnpin for SchemaWarning
impl UnwindSafe for SchemaWarning
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