pub struct Opts {
pub items: Vec<i64>,
pub once: bool,
pub dry_run: bool,
pub since: Option<Duration>,
pub limit: usize,
}Expand description
How one spar listen was asked to run.
Fields§
§items: Vec<i64>The issues and pull requests to watch. Empty means the repository.
once: boolOne poll and one sweep, act on what is due, exit.
dry_run: boolLog every event and what it would trigger, and trigger nothing.
since: Option<Duration>How far back the first run looks.
limit: usizeMost pending second looks the first sweep may queue.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Opts
impl RefUnwindSafe for Opts
impl Send for Opts
impl Sync for Opts
impl Unpin for Opts
impl UnsafeUnpin for Opts
impl UnwindSafe for Opts
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