pub struct Mode {
pub dry_run: bool,
pub draft: bool,
pub again: bool,
pub auto: bool,
pub posts: bool,
}Fields§
§dry_run: boolPrint what would be posted and save it for spar post. Nothing is
posted and nothing is recorded, so a run after it sees the same.
draft: boolSave what would be posted for spar post instead of posting it, and
record what was judged, so spar listen does not judge it again.
again: boolJudge mentions spar already judged, ignoring what it recorded.
auto: boolStarted by spar listen rather than by a person. Counts against
max_answers, and a person’s run sets the count back to zero.
posts: boolWhether [style] pr_comments lets spar say anything at all.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnsafeUnpin for Mode
impl UnwindSafe for Mode
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