Struct roctogen::models::WorkflowRun[][src]

pub struct WorkflowRun {
Show fields pub id: Option<i64>, pub name: Option<String>, pub node_id: Option<String>, pub check_suite_id: Option<i64>, pub check_suite_node_id: Option<String>, pub head_branch: Option<String>, pub head_sha: Option<String>, pub run_number: Option<i64>, pub event: Option<String>, pub status: Option<String>, pub conclusion: Option<String>, pub workflow_id: Option<i64>, pub url: Option<String>, pub html_url: Option<String>, pub pull_requests: Option<Vec<PullRequestMinimal>>, pub created_at: Option<DateTime<Utc>>, pub updated_at: Option<DateTime<Utc>>, pub jobs_url: Option<String>, pub logs_url: Option<String>, pub check_suite_url: Option<String>, pub artifacts_url: Option<String>, pub cancel_url: Option<String>, pub rerun_url: Option<String>, pub workflow_url: Option<String>, pub head_commit: Option<AllOfworkflowRunHeadCommit>, pub repository: Option<MinimalRepository>, pub head_repository: Option<MinimalRepository>, pub head_repository_id: Option<i64>,
}
Expand description

An invocation of a workflow

Fields

id: Option<i64>

The ID of the workflow run.

name: Option<String>

The name of the workflow run.

node_id: Option<String>check_suite_id: Option<i64>

The ID of the associated check suite.

check_suite_node_id: Option<String>

The node ID of the associated check suite.

head_branch: Option<String>head_sha: Option<String>

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

run_number: Option<i64>

The auto incrementing run number for the workflow run.

event: Option<String>status: Option<String>conclusion: Option<String>workflow_id: Option<i64>

The ID of the parent workflow.

url: Option<String>

The URL to the workflow run.

html_url: Option<String>pull_requests: Option<Vec<PullRequestMinimal>>created_at: Option<DateTime<Utc>>updated_at: Option<DateTime<Utc>>jobs_url: Option<String>

The URL to the jobs for the workflow run.

logs_url: Option<String>

The URL to download the logs for the workflow run.

check_suite_url: Option<String>

The URL to the associated check suite.

artifacts_url: Option<String>

The URL to the artifacts for the workflow run.

cancel_url: Option<String>

The URL to cancel the workflow run.

rerun_url: Option<String>

The URL to rerun the workflow run.

workflow_url: Option<String>

The URL to the workflow.

head_commit: Option<AllOfworkflowRunHeadCommit>repository: Option<MinimalRepository>head_repository: Option<MinimalRepository>head_repository_id: Option<i64>

Trait Implementations

impl Clone for WorkflowRun[src]

fn clone(&self) -> WorkflowRun[src]

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for WorkflowRun[src]

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

Formats the value using the given formatter. Read more

impl Default for WorkflowRun[src]

fn default() -> WorkflowRun[src]

Returns the “default value” for a type. Read more

impl<'de> Deserialize<'de> for WorkflowRun[src]

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

Deserialize this value from the given Serde deserializer. Read more

impl PartialEq<WorkflowRun> for WorkflowRun[src]

fn eq(&self, other: &WorkflowRun) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &WorkflowRun) -> bool[src]

This method tests for !=.

impl Serialize for WorkflowRun[src]

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer
[src]

Serialize this value into the given Serde serializer. Read more

impl StructuralPartialEq for WorkflowRun[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

pub fn to_owned(&self) -> T[src]

Creates owned data from borrowed data, usually by cloning. Read more

pub fn clone_into(&self, target: &mut T)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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

Performs the conversion.

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]