pub struct SkipNotice {
pub path: PathBuf,
pub location: Option<String>,
pub kind: SkipKind,
pub detail: String,
}Expand description
One thing a parser skipped, and why.
Notices are warnings as data: this crate records them and moves on, never printing and never failing, so a single unexpected property cannot abort an analysis run. Presentation is the CLI’s decision.
Fields§
§path: PathBufThe file the skip was found in, as ingest saw it.
location: Option<String>Where in the file the skip lives — a TMDL line number (line 12) or a
JSON pointer — when the parser can name one.
kind: SkipKindWhat kind of skip this is.
detail: StringWhat was skipped and why, in one sentence.
Trait Implementations§
Source§impl Clone for SkipNotice
impl Clone for SkipNotice
Source§fn clone(&self) -> SkipNotice
fn clone(&self) -> SkipNotice
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 SkipNotice
impl Debug for SkipNotice
impl Eq for SkipNotice
Source§impl PartialEq for SkipNotice
impl PartialEq for SkipNotice
impl StructuralPartialEq for SkipNotice
Auto Trait Implementations§
impl Freeze for SkipNotice
impl RefUnwindSafe for SkipNotice
impl Send for SkipNotice
impl Sync for SkipNotice
impl Unpin for SkipNotice
impl UnsafeUnpin for SkipNotice
impl UnwindSafe for SkipNotice
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.