pub struct Notice {
pub stage: String,
pub kind: NoticeKind,
pub reason: String,
pub count: u64,
pub examples: Vec<String>,
pub entities: Vec<Entity>,
}Expand description
One thing a conversion stage tells the program: what stage, what kind, why, how many, and a few examples (source names or ids) of what it concerns.
Fields§
§stage: StringThe reader, a pass (as in its pipeline), convert or the writer.
kind: NoticeKind§reason: String§count: u64§examples: Vec<String>At most NOTICE_EXAMPLES.
entities: Vec<Entity>The entities an approximation was attributed to (crate::pass::PassLog::approximate_on), at most
NOTICE_EXAMPLES; the count still counts every case. Ids of the world the pass ran on: set only for the passes
of a whole-world run (the select, decided and finalized runs), empty for the runs of groups and parts, whose
worlds differ, and for every notice that is not an approximation.
Implementations§
Trait Implementations§
impl Eq for Notice
impl StructuralPartialEq for Notice
Auto Trait Implementations§
impl Forget for Notice
impl Freeze for Notice
impl RefUnwindSafe for Notice
impl Send for Notice
impl Sync for Notice
impl Unpin for Notice
impl UnsafeUnpin for Notice
impl UnwindSafe for Notice
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.