pub struct WorkflowRun {
pub id: u64,
pub path: String,
pub repository: Option<String>,
pub run_attempt: u64,
pub run_number: u64,
pub event: String,
pub conclusion: Option<String>,
pub run_started_at: Option<String>,
pub head_branch: Option<String>,
pub pull_requests: Vec<u64>,
}Expand description
One workflow run from workflow_runs[].
Fields§
§id: u64§path: StringLinked workflow path: @ref and an owner/repo/ prefix are removed.
repository: Option<String>owner/repo taken from the raw run path before linking. None when
the path has no two-segment prefix in front of .github/workflows.
run_attempt: u64§run_number: u64§event: String§conclusion: Option<String>§run_started_at: Option<String>§head_branch: Option<String>Branch name from head_branch. Missing and null stay None.
pull_requests: Vec<u64>Pull request numbers from pull_requests[].number, in file order.
Missing, null, and an empty array are an empty list.
Implementations§
Trait Implementations§
Source§impl Clone for WorkflowRun
impl Clone for WorkflowRun
Source§impl Debug for WorkflowRun
impl Debug for WorkflowRun
impl Eq for WorkflowRun
Source§impl PartialEq for WorkflowRun
impl PartialEq for WorkflowRun
impl StructuralPartialEq for WorkflowRun
Auto Trait Implementations§
impl Freeze for WorkflowRun
impl RefUnwindSafe for WorkflowRun
impl Send for WorkflowRun
impl Sync for WorkflowRun
impl Unpin for WorkflowRun
impl UnsafeUnpin for WorkflowRun
impl UnwindSafe for WorkflowRun
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