pub struct WorkflowRun<'a> {
Show 35 fields pub artifacts_url: &'a str, pub cancel_url: &'a str, pub check_suite_url: &'a str, pub check_suite_id: usize, pub check_suite_node_id: &'a str, pub conclusion: Option<WorkflowRunConclusion>, pub created_at: &'a str, pub event: &'a str, pub head_branch: &'a str, pub head_commit: SimpleCommit<'a>, pub head_repository: RepositoryLite<'a>, pub head_sha: &'a str, pub path: &'a str, pub display_title: &'a str, pub html_url: &'a str, pub id: usize, pub jobs_url: &'a str, pub logs_url: &'a str, pub node_id: &'a str, pub name: &'a str, pub pull_requests: Vec<WorkflowRunPullRequests<'a>>, pub repository: RepositoryLite<'a>, pub rerun_url: &'a str, pub run_number: usize, pub status: WorkflowRunStatus, pub updated_at: &'a str, pub url: &'a str, pub workflow_id: usize, pub workflow_url: &'a str, pub run_attempt: usize, pub referenced_workflows: Option<Vec<ReferencedWorkflow<'a>>>, pub run_started_at: &'a str, pub previous_attempt_url: Option<&'a str>, pub actor: User<'a>, pub triggering_actor: User<'a>,
}

Fields§

§artifacts_url: &'a str

The URL to the artifacts for the workflow run.

§cancel_url: &'a str

The URL to cancel the workflow run.

§check_suite_url: &'a str

The URL to the associated check suite.

§check_suite_id: usize

The ID of the associated check suite.

§check_suite_node_id: &'a str

The node ID of the associated check suite.

§conclusion: Option<WorkflowRunConclusion>§created_at: &'a str§event: &'a str§head_branch: &'a str§head_commit: SimpleCommit<'a>§head_repository: RepositoryLite<'a>§head_sha: &'a str

The SHA of the head commit that points to the version of the workflow being run.

§path: &'a str

The full path of the workflow

§display_title: &'a str§html_url: &'a str§id: usize

The ID of the workflow run.

§jobs_url: &'a str

The URL to the jobs for the workflow run.

§logs_url: &'a str

The URL to download the logs for the workflow run.

§node_id: &'a str§name: &'a str

The name of the workflow run.

§pull_requests: Vec<WorkflowRunPullRequests<'a>>§repository: RepositoryLite<'a>§rerun_url: &'a str

The URL to rerun the workflow run.

§run_number: usize

The auto incrementing run number for the workflow run.

§status: WorkflowRunStatus§updated_at: &'a str§url: &'a str

The URL to the workflow run.

§workflow_id: usize

The ID of the parent workflow.

§workflow_url: &'a str

The URL to the workflow.

§run_attempt: usize

Attempt number of the run, 1 for first attempt and higher if the workflow was re-run.

§referenced_workflows: Option<Vec<ReferencedWorkflow<'a>>>§run_started_at: &'a str

The start time of the latest run. Resets on re-run.

§previous_attempt_url: Option<&'a str>

The URL to the previous attempted run of this workflow, if one exists.

§actor: User<'a>§triggering_actor: User<'a>

Trait Implementations§

source§

impl<'a> Debug for WorkflowRun<'a>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de: 'a, 'a> Deserialize<'de> for WorkflowRun<'a>

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for WorkflowRun<'a>

§

impl<'a> Send for WorkflowRun<'a>

§

impl<'a> Sync for WorkflowRun<'a>

§

impl<'a> Unpin for WorkflowRun<'a>

§

impl<'a> UnwindSafe for WorkflowRun<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,