#[non_exhaustive]pub struct Job {Show 23 fields
pub id: JobId,
pub run_id: RunId,
pub workflow_name: String,
pub head_branch: String,
pub run_url: Url,
pub run_attempt: u32,
pub node_id: String,
pub head_sha: String,
pub url: Url,
pub html_url: Url,
pub status: Status,
pub conclusion: Option<Conclusion>,
pub created_at: DateTime<Utc>,
pub started_at: DateTime<Utc>,
pub completed_at: Option<DateTime<Utc>>,
pub name: String,
pub steps: Vec<Step>,
pub check_run_url: String,
pub labels: Vec<String>,
pub runner_id: Option<u32>,
pub runner_name: Option<String>,
pub runner_group_id: Option<u32>,
pub runner_group_name: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: JobId
§run_id: RunId
§workflow_name: String
§head_branch: String
§run_url: Url
§run_attempt: u32
§node_id: String
§head_sha: String
§url: Url
§html_url: Url
§status: Status
§conclusion: Option<Conclusion>
§created_at: DateTime<Utc>
§started_at: DateTime<Utc>
§completed_at: Option<DateTime<Utc>>
§name: String
§steps: Vec<Step>
§check_run_url: String
§labels: Vec<String>
§runner_id: Option<u32>
§runner_name: Option<String>
§runner_group_id: Option<u32>
§runner_group_name: Option<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Job
impl<'de> Deserialize<'de> for Job
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 StructuralPartialEq for Job
Auto Trait Implementations§
impl Freeze for Job
impl RefUnwindSafe for Job
impl Send for Job
impl Sync for Job
impl Unpin for Job
impl UnwindSafe for Job
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