pub struct RunOverrides {
pub merge: Option<String>,
pub candidates: Option<usize>,
pub judges: Option<usize>,
pub reviewers: Option<usize>,
pub review_rounds: Option<usize>,
pub seed: Option<u64>,
pub config: Option<PathBuf>,
}Expand description
Command-line choices carried by a task. See Task::overrides.
Fields§
§merge: Option<String>--merge: none, local or pr.
candidates: Option<usize>-c: parallel implementations.
judges: Option<usize>-j: independent judges.
reviewers: Option<usize>--reviewers: reviewers per round.
review_rounds: Option<usize>--review-rounds.
seed: Option<u64>--seed.
config: Option<PathBuf>--config, absolute: the daemon’s own working directory differs.
Implementations§
Source§impl RunOverrides
impl RunOverrides
Sourcepub fn merge_over(&mut self, other: &RunOverrides)
pub fn merge_over(&mut self, other: &RunOverrides)
Lay other over these: every choice other made wins, the rest stay.
Trait Implementations§
Source§impl Clone for RunOverrides
impl Clone for RunOverrides
Source§impl Debug for RunOverrides
impl Debug for RunOverrides
Source§impl Default for RunOverrides
impl Default for RunOverrides
Source§impl<'de> Deserialize<'de> for RunOverrides
impl<'de> Deserialize<'de> for RunOverrides
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RunOverrides
Source§impl PartialEq for RunOverrides
impl PartialEq for RunOverrides
Source§impl Serialize for RunOverrides
impl Serialize for RunOverrides
impl StructuralPartialEq for RunOverrides
Auto Trait Implementations§
impl Freeze for RunOverrides
impl RefUnwindSafe for RunOverrides
impl Send for RunOverrides
impl Sync for RunOverrides
impl Unpin for RunOverrides
impl UnsafeUnpin for RunOverrides
impl UnwindSafe for RunOverrides
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more