pub struct CheckReport {
pub report: Report,
pub passed: bool,
pub error_count: u64,
pub warning_count: u64,
pub contrast: Option<Map<String, Value>>,
pub reflow: Vec<Value>,
pub preflight: Option<Map<String, Value>>,
}Expand description
check: whether the book passed, its error and warning counts, and
the contrast, reflow and preflight results as the command gives them.
Fields§
§report: ReportWhat every command reports.
passed: boolWhether the book passed.
error_count: u64The number of errors.
warning_count: u64The number of warnings.
contrast: Option<Map<String, Value>>The contrast check.
reflow: Vec<Value>The reflow check.
preflight: Option<Map<String, Value>>The print preflight.
Trait Implementations§
Source§impl Clone for CheckReport
impl Clone for CheckReport
Source§impl Debug for CheckReport
impl Debug for CheckReport
Source§impl Deref for CheckReport
impl Deref for CheckReport
Source§impl From<CheckReport> for Report
impl From<CheckReport> for Report
Source§fn from(r: CheckReport) -> Report
fn from(r: CheckReport) -> Report
Converts to this type from the input type.
Source§impl FromReport for CheckReport
impl FromReport for CheckReport
Source§fn from_report(report: Report) -> Self
fn from_report(report: Report) -> Self
Reads the command’s own fields from
Report::raw.Source§impl PartialEq for CheckReport
impl PartialEq for CheckReport
impl StructuralPartialEq for CheckReport
Auto Trait Implementations§
impl Forget for CheckReport
impl Freeze for CheckReport
impl Move for CheckReport
impl RefUnwindSafe for CheckReport
impl Send for CheckReport
impl Sync for CheckReport
impl Unpin for CheckReport
impl UnsafeUnpin for CheckReport
impl UnwindSafe for CheckReport
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