pub struct Options {
pub checks: Vec<Check>,
pub part: Option<String>,
pub grep: Option<String>,
pub limit: usize,
pub context: usize,
pub full_lines: bool,
}Expand description
Report options.
Fields§
§checks: Vec<Check>Reports to print.
part: Option<String>Only parts whose name contains this.
grep: Option<String>textbox: only stories whose text contains this; text, runs,
xml, changes, tables, styledefs, numbering: only lines that
hold it, a runs line read as plain text, printed whole.
limit: usizeExamples per finding kind, lines per listing.
context: usizetext/xml/runs of two files: common lines shown around each
change.
full_lines: booltext, xml, runs, changes, styledefs, numbering, render:
each line whole, not clipped at 200 characters.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Options
impl Freeze for Options
impl Move for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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