pub struct Run {
pub id: u64,
pub workflow_id: u64,
pub workflow_name: String,
pub event: String,
pub head_sha: CommitSha,
pub head_branch: Option<String>,
pub run_attempt: u64,
pub status: String,
pub conclusion: Option<String>,
pub created_at: Timestamp,
pub run_started_at: Option<Timestamp>,
pub updated_at: Timestamp,
}Expand description
A workflow run, as GitHub recorded it.
Fields§
§id: u64The run’s id.
workflow_id: u64The workflow’s id.
workflow_name: StringThe workflow’s name.
event: StringThe event that triggered it.
head_sha: CommitShaThe commit it ran at.
head_branch: Option<String>The branch it ran on, where GitHub reports one.
run_attempt: u64Its latest attempt.
status: StringIts status.
conclusion: Option<String>Its conclusion, once it has one.
created_at: TimestampWhen it was created.
run_started_at: Option<Timestamp>When its latest attempt started, where GitHub reports it.
updated_at: TimestampWhen it was last updated.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Run
impl<'de> Deserialize<'de> for Run
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Run
Source§impl JsonSchema for Run
impl JsonSchema for Run
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for Run
Auto Trait Implementations§
impl Freeze for Run
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnsafeUnpin for Run
impl UnwindSafe for Run
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.