pub struct ReviewOpts {
pub dry_run: bool,
pub verdict: bool,
}Expand description
How spar review posts. A struct rather than a growing list of bools:
spar listen passes the equivalent through this, not through the CLI.
Fields§
§dry_run: boolPrint the review and save it, post nothing.
verdict: boolSubmit a formal review with a verdict derived from the findings, rather than a comment.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReviewOpts
impl RefUnwindSafe for ReviewOpts
impl Send for ReviewOpts
impl Sync for ReviewOpts
impl Unpin for ReviewOpts
impl UnsafeUnpin for ReviewOpts
impl UnwindSafe for ReviewOpts
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