pub struct CheckSuite {Show 19 fields
pub id: i32,
pub node_id: String,
pub head_branch: Option<String>,
pub head_sha: String,
pub status: Option<Status>,
pub conclusion: Option<Conclusion>,
pub url: Option<String>,
pub before: Option<String>,
pub after: Option<String>,
pub pull_requests: Option<Vec<PullRequestMinimal>>,
pub app: Option<Box<NullableIntegration>>,
pub repository: Box<MinimalRepository>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub head_commit: Box<SimpleCommit>,
pub latest_check_runs_count: i32,
pub check_runs_url: String,
pub rerequestable: Option<bool>,
pub runs_rerequestable: Option<bool>,
}
Expand description
CheckSuite : A suite of checks performed on the code of a given code change
Fields§
§id: i32
§node_id: String
§head_branch: Option<String>
§head_sha: String
The SHA of the head commit that is being checked.
status: Option<Status>
The phase of the lifecycle that the check suite is currently in. Statuses of waiting, requested, and pending are reserved for GitHub Actions check suites.
conclusion: Option<Conclusion>
§url: Option<String>
§before: Option<String>
§after: Option<String>
§pull_requests: Option<Vec<PullRequestMinimal>>
§app: Option<Box<NullableIntegration>>
§repository: Box<MinimalRepository>
§created_at: Option<String>
§updated_at: Option<String>
§head_commit: Box<SimpleCommit>
§latest_check_runs_count: i32
§check_runs_url: String
§rerequestable: Option<bool>
§runs_rerequestable: Option<bool>
Implementations§
Source§impl CheckSuite
impl CheckSuite
Sourcepub fn new(
id: i32,
node_id: String,
head_branch: Option<String>,
head_sha: String,
status: Option<Status>,
conclusion: Option<Conclusion>,
url: Option<String>,
before: Option<String>,
after: Option<String>,
pull_requests: Option<Vec<PullRequestMinimal>>,
app: Option<NullableIntegration>,
repository: MinimalRepository,
created_at: Option<String>,
updated_at: Option<String>,
head_commit: SimpleCommit,
latest_check_runs_count: i32,
check_runs_url: String,
) -> CheckSuite
pub fn new( id: i32, node_id: String, head_branch: Option<String>, head_sha: String, status: Option<Status>, conclusion: Option<Conclusion>, url: Option<String>, before: Option<String>, after: Option<String>, pull_requests: Option<Vec<PullRequestMinimal>>, app: Option<NullableIntegration>, repository: MinimalRepository, created_at: Option<String>, updated_at: Option<String>, head_commit: SimpleCommit, latest_check_runs_count: i32, check_runs_url: String, ) -> CheckSuite
A suite of checks performed on the code of a given code change
Trait Implementations§
Source§impl Clone for CheckSuite
impl Clone for CheckSuite
Source§fn clone(&self) -> CheckSuite
fn clone(&self) -> CheckSuite
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 CheckSuite
impl Debug for CheckSuite
Source§impl Default for CheckSuite
impl Default for CheckSuite
Source§fn default() -> CheckSuite
fn default() -> CheckSuite
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CheckSuite
impl<'de> Deserialize<'de> for CheckSuite
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 CheckSuite
impl PartialEq for CheckSuite
Source§impl Serialize for CheckSuite
impl Serialize for CheckSuite
impl StructuralPartialEq for CheckSuite
Auto Trait Implementations§
impl Freeze for CheckSuite
impl RefUnwindSafe for CheckSuite
impl Send for CheckSuite
impl Sync for CheckSuite
impl Unpin for CheckSuite
impl UnwindSafe for CheckSuite
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