pub struct WorkflowRun {Show 35 fields
pub actor: Option<Box<User>>,
pub artifacts_url: String,
pub cancel_url: String,
pub check_suite_id: i32,
pub check_suite_node_id: String,
pub check_suite_url: String,
pub conclusion: Option<Conclusion>,
pub created_at: String,
pub event: String,
pub head_branch: Option<String>,
pub head_commit: Box<SimpleCommit>,
pub head_repository: Box<RepositoryLite>,
pub head_sha: String,
pub html_url: String,
pub id: i32,
pub jobs_url: String,
pub logs_url: String,
pub name: Option<String>,
pub node_id: String,
pub path: String,
pub previous_attempt_url: Option<String>,
pub pull_requests: Vec<WorkflowRunPullRequestsInner>,
pub referenced_workflows: Option<Option<Vec<DeploymentWorkflowRunReferencedWorkflowsInner>>>,
pub repository: Box<RepositoryLite>,
pub rerun_url: String,
pub run_attempt: i32,
pub run_number: i32,
pub run_started_at: String,
pub status: Status,
pub triggering_actor: Option<Box<User>>,
pub updated_at: String,
pub url: String,
pub workflow_id: i32,
pub workflow_url: String,
pub display_title: Option<String>,
}
Fields§
§actor: Option<Box<User>>
§artifacts_url: String
§cancel_url: String
§check_suite_id: i32
§check_suite_node_id: String
§check_suite_url: String
§conclusion: Option<Conclusion>
§created_at: String
§event: String
§head_branch: Option<String>
§head_commit: Box<SimpleCommit>
§head_repository: Box<RepositoryLite>
§head_sha: String
§html_url: String
§id: i32
§jobs_url: String
§logs_url: String
§name: Option<String>
§node_id: String
§path: String
§previous_attempt_url: Option<String>
§pull_requests: Vec<WorkflowRunPullRequestsInner>
§referenced_workflows: Option<Option<Vec<DeploymentWorkflowRunReferencedWorkflowsInner>>>
§repository: Box<RepositoryLite>
§rerun_url: String
§run_attempt: i32
§run_number: i32
§run_started_at: String
§status: Status
§triggering_actor: Option<Box<User>>
§updated_at: String
§url: String
§workflow_id: i32
§workflow_url: String
§display_title: Option<String>
The event-specific title associated with the run or the run-name if set, or the value of run-name
if it is set in the workflow.
Implementations§
Source§impl WorkflowRun
impl WorkflowRun
pub fn new( actor: Option<User>, artifacts_url: String, cancel_url: String, check_suite_id: i32, check_suite_node_id: String, check_suite_url: String, conclusion: Option<Conclusion>, created_at: String, event: String, head_branch: Option<String>, head_commit: SimpleCommit, head_repository: RepositoryLite, head_sha: String, html_url: String, id: i32, jobs_url: String, logs_url: String, name: Option<String>, node_id: String, path: String, previous_attempt_url: Option<String>, pull_requests: Vec<WorkflowRunPullRequestsInner>, repository: RepositoryLite, rerun_url: String, run_attempt: i32, run_number: i32, run_started_at: String, status: Status, triggering_actor: Option<User>, updated_at: String, url: String, workflow_id: i32, workflow_url: String, ) -> WorkflowRun
Trait Implementations§
Source§impl Clone for WorkflowRun
impl Clone for WorkflowRun
Source§fn clone(&self) -> WorkflowRun
fn clone(&self) -> WorkflowRun
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WorkflowRun
impl Debug for WorkflowRun
Source§impl Default for WorkflowRun
impl Default for WorkflowRun
Source§fn default() -> WorkflowRun
fn default() -> WorkflowRun
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkflowRun
impl<'de> Deserialize<'de> for WorkflowRun
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
Source§impl PartialEq for WorkflowRun
impl PartialEq for WorkflowRun
Source§impl Serialize for WorkflowRun
impl Serialize 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 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