pub struct CheckRun {Show 17 fields
pub id: i32,
pub head_sha: String,
pub node_id: String,
pub external_id: Option<String>,
pub url: String,
pub html_url: Option<String>,
pub details_url: Option<String>,
pub status: Status,
pub conclusion: Option<Conclusion>,
pub started_at: Option<String>,
pub completed_at: Option<String>,
pub output: Box<CheckRunOutput>,
pub name: String,
pub check_suite: Option<Box<CheckRunCheckSuite>>,
pub app: Option<Box<NullableIntegration>>,
pub pull_requests: Vec<PullRequestMinimal>,
pub deployment: Option<Box<DeploymentSimple>>,
}
Expand description
CheckRun : A check performed on the code of a given code change
Fields§
§id: i32
The id of the check.
head_sha: String
The SHA of the commit that is being checked.
node_id: String
§external_id: Option<String>
§url: String
§html_url: Option<String>
§details_url: Option<String>
§status: Status
The phase of the lifecycle that the check is currently in. Statuses of waiting, requested, and pending are reserved for GitHub Actions check runs.
conclusion: Option<Conclusion>
§started_at: Option<String>
§completed_at: Option<String>
§output: Box<CheckRunOutput>
§name: String
The name of the check.
check_suite: Option<Box<CheckRunCheckSuite>>
§app: Option<Box<NullableIntegration>>
§pull_requests: Vec<PullRequestMinimal>
Pull requests that are open with a head_sha
or head_branch
that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check.
deployment: Option<Box<DeploymentSimple>>
Implementations§
Source§impl CheckRun
impl CheckRun
Sourcepub fn new(
id: i32,
head_sha: String,
node_id: String,
external_id: Option<String>,
url: String,
html_url: Option<String>,
details_url: Option<String>,
status: Status,
conclusion: Option<Conclusion>,
started_at: Option<String>,
completed_at: Option<String>,
output: CheckRunOutput,
name: String,
check_suite: Option<CheckRunCheckSuite>,
app: Option<NullableIntegration>,
pull_requests: Vec<PullRequestMinimal>,
) -> CheckRun
pub fn new( id: i32, head_sha: String, node_id: String, external_id: Option<String>, url: String, html_url: Option<String>, details_url: Option<String>, status: Status, conclusion: Option<Conclusion>, started_at: Option<String>, completed_at: Option<String>, output: CheckRunOutput, name: String, check_suite: Option<CheckRunCheckSuite>, app: Option<NullableIntegration>, pull_requests: Vec<PullRequestMinimal>, ) -> CheckRun
A check performed on the code of a given code change
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CheckRun
impl<'de> Deserialize<'de> for CheckRun
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 CheckRun
Auto Trait Implementations§
impl Freeze for CheckRun
impl RefUnwindSafe for CheckRun
impl Send for CheckRun
impl Sync for CheckRun
impl Unpin for CheckRun
impl UnwindSafe for CheckRun
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