pub struct WebhookCheckSuiteCompletedCheckSuite {Show 18 fields
pub after: Option<String>,
pub app: Box<App2>,
pub before: Option<String>,
pub check_runs_url: String,
pub conclusion: Option<Conclusion>,
pub created_at: String,
pub head_branch: Option<String>,
pub head_commit: Box<SimpleCommit>,
pub head_sha: String,
pub id: i32,
pub latest_check_runs_count: i32,
pub node_id: String,
pub pull_requests: Vec<CheckRunPullRequest>,
pub rerequestable: Option<bool>,
pub runs_rerequestable: Option<bool>,
pub status: Option<Status>,
pub updated_at: String,
pub url: String,
}
Expand description
WebhookCheckSuiteCompletedCheckSuite : The check_suite.
Fields§
§after: Option<String>
§app: Box<App2>
§before: Option<String>
§check_runs_url: String
§conclusion: Option<Conclusion>
The summary conclusion for all check runs that are part of the check suite. This value will be null
until the check run has completed
.
created_at: String
§head_branch: Option<String>
The head branch name the changes are on.
head_commit: Box<SimpleCommit>
§head_sha: String
The SHA of the head commit that is being checked.
id: i32
§latest_check_runs_count: i32
§node_id: String
§pull_requests: Vec<CheckRunPullRequest>
An array of pull requests that match this check suite. A pull request matches a check suite if they have the same head_sha
and head_branch
. When the check suite’s head_branch
is in a forked repository it will be null
and the pull_requests
array will be empty.
rerequestable: Option<bool>
§runs_rerequestable: Option<bool>
§status: Option<Status>
The summary status for all check runs that are part of the check suite. Can be requested
, in_progress
, or completed
.
updated_at: String
§url: String
URL that points to the check suite API resource.
Implementations§
Source§impl WebhookCheckSuiteCompletedCheckSuite
impl WebhookCheckSuiteCompletedCheckSuite
Sourcepub fn new(
after: Option<String>,
app: App2,
before: Option<String>,
check_runs_url: String,
conclusion: Option<Conclusion>,
created_at: String,
head_branch: Option<String>,
head_commit: SimpleCommit,
head_sha: String,
id: i32,
latest_check_runs_count: i32,
node_id: String,
pull_requests: Vec<CheckRunPullRequest>,
status: Option<Status>,
updated_at: String,
url: String,
) -> WebhookCheckSuiteCompletedCheckSuite
pub fn new( after: Option<String>, app: App2, before: Option<String>, check_runs_url: String, conclusion: Option<Conclusion>, created_at: String, head_branch: Option<String>, head_commit: SimpleCommit, head_sha: String, id: i32, latest_check_runs_count: i32, node_id: String, pull_requests: Vec<CheckRunPullRequest>, status: Option<Status>, updated_at: String, url: String, ) -> WebhookCheckSuiteCompletedCheckSuite
The check_suite.
Trait Implementations§
Source§impl Clone for WebhookCheckSuiteCompletedCheckSuite
impl Clone for WebhookCheckSuiteCompletedCheckSuite
Source§fn clone(&self) -> WebhookCheckSuiteCompletedCheckSuite
fn clone(&self) -> WebhookCheckSuiteCompletedCheckSuite
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 Default for WebhookCheckSuiteCompletedCheckSuite
impl Default for WebhookCheckSuiteCompletedCheckSuite
Source§fn default() -> WebhookCheckSuiteCompletedCheckSuite
fn default() -> WebhookCheckSuiteCompletedCheckSuite
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookCheckSuiteCompletedCheckSuite
impl<'de> Deserialize<'de> for WebhookCheckSuiteCompletedCheckSuite
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 WebhookCheckSuiteCompletedCheckSuite
impl PartialEq for WebhookCheckSuiteCompletedCheckSuite
Source§fn eq(&self, other: &WebhookCheckSuiteCompletedCheckSuite) -> bool
fn eq(&self, other: &WebhookCheckSuiteCompletedCheckSuite) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for WebhookCheckSuiteCompletedCheckSuite
Auto Trait Implementations§
impl Freeze for WebhookCheckSuiteCompletedCheckSuite
impl RefUnwindSafe for WebhookCheckSuiteCompletedCheckSuite
impl Send for WebhookCheckSuiteCompletedCheckSuite
impl Sync for WebhookCheckSuiteCompletedCheckSuite
impl Unpin for WebhookCheckSuiteCompletedCheckSuite
impl UnwindSafe for WebhookCheckSuiteCompletedCheckSuite
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