pub struct PreviewFacts {
pub target: ActionTarget,
pub job_attempt: u32,
pub run: RunSeen,
pub superseded: Option<Superseded>,
pub confirm: Option<String>,
pub paused: bool,
pub siblings: Vec<JobSummary>,
pub more: bool,
}Expand description
The facts of an ActionPreview: what the route found for the job.
Fields§
§target: ActionTargetWhat is asked of which job; its attempt is run’s, when read.
job_attempt: u32The attempt of the run the job ran in, as the history says.
run: RunSeenThe run as GitHub said it.
superseded: Option<Superseded>Why the request’s confirmation was not taken, if it came with one.
confirm: Option<String>The confirmation issued with this preview; None when the run was not read.
paused: boolWhether the repository is paused.
siblings: Vec<JobSummary>The other jobs of the run the history has, newest attempt first, at most SIBLINGS_MAX.
more: boolWhether the history has more of them than siblings.
Trait Implementations§
Source§impl Clone for PreviewFacts
impl Clone for PreviewFacts
Auto Trait Implementations§
impl Forget for PreviewFacts
impl Freeze for PreviewFacts
impl Move for PreviewFacts
impl RefUnwindSafe for PreviewFacts
impl Send for PreviewFacts
impl Sync for PreviewFacts
impl Unpin for PreviewFacts
impl UnsafeUnpin for PreviewFacts
impl UnwindSafe for PreviewFacts
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