pub struct Baselined {
pub new: Vec<Finding>,
pub baseline: Vec<Finding>,
pub resolved: Vec<Finding>,
pub authors: Vec<AuthorMark>,
pub author: Option<String>,
}Expand description
A document’s findings against those of the document it was made from
(baseline).
Fields§
§new: Vec<Finding>The document’s findings the baseline does not have: the edit’s.
baseline: Vec<Finding>The document’s findings the baseline already had.
resolved: Vec<Finding>The baseline’s findings the document no longer has.
Who signed the markup the edit added over the baseline, counted per
logical change as changes lists it and per comment, in
first-appearance order (#1893): validate_baselined fills it
with the markup docx gained over the baseline.
The --author the markup was checked against, when there is one;
the text report’s none of it is signed line reads it.
Implementations§
Source§impl Baselined
impl Baselined
Sourcepub fn verdict(&self, strict: bool) -> Verdict
pub fn verdict(&self, strict: bool) -> Verdict
The run’s verdict under strict (as fails reads the new
findings): pass is the 0 exit. The counts are objects, not
findings: the distinct logical changes and the distinct comments
the findings name; a finding about neither counts as a finding
only (#1893).
Trait Implementations§
impl Eq for Baselined
impl StructuralPartialEq for Baselined
Auto Trait Implementations§
impl Forget for Baselined
impl Freeze for Baselined
impl Move for Baselined
impl RefUnwindSafe for Baselined
impl Send for Baselined
impl Sync for Baselined
impl Unpin for Baselined
impl UnsafeUnpin for Baselined
impl UnwindSafe for Baselined
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
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
key and return true if they are equal.