pub struct Warning {
pub path: String,
pub span: Span,
pub kind: WarningKind,
}Expand description
A warning produced during validation — informational, does not indicate invalid data.
Fields§
§path: StringDot/bracket field path to the relevant value.
span: SpanSource location of the relevant value in the data file.
kind: WarningKindWhat the warning is about.
Trait Implementations§
impl Eq for Warning
impl StructuralPartialEq for Warning
Auto Trait Implementations§
impl Freeze for Warning
impl RefUnwindSafe for Warning
impl Send for Warning
impl Sync for Warning
impl Unpin for Warning
impl UnsafeUnpin for Warning
impl UnwindSafe for Warning
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