#[non_exhaustive]pub enum RerunScope {
All,
FailedOnly,
}Expand description
Which jobs GitHubApi::run_rerun reruns (gh run rerun) — a direct argument
rather than a builder, since a single toggle doesn’t reach the crate’s
≥2 options → builder bar. #[non_exhaustive] so a future rerun mode is not a
breaking change.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
All
Rerun the entire run — every job (gh run rerun <id>).
FailedOnly
Rerun only the failed jobs, plus their dependencies
(gh run rerun <id> --failed).
Trait Implementations§
Source§impl Clone for RerunScope
impl Clone for RerunScope
Source§fn clone(&self) -> RerunScope
fn clone(&self) -> RerunScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RerunScope
Source§impl Debug for RerunScope
impl Debug for RerunScope
impl Eq for RerunScope
Source§impl PartialEq for RerunScope
impl PartialEq for RerunScope
impl StructuralPartialEq for RerunScope
Auto Trait Implementations§
impl Freeze for RerunScope
impl RefUnwindSafe for RerunScope
impl Send for RerunScope
impl Sync for RerunScope
impl Unpin for RerunScope
impl UnsafeUnpin for RerunScope
impl UnwindSafe for RerunScope
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