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 Optionswhere
RawVecInner: Send,
impl Sync for Optionswhere
RawVecInner: Sync,
impl Unpin for Options
impl UnsafeUnpin for Optionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Check>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Optionswhere
RawVecInner: UnwindSafe,
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