pub struct PullRequestCheck {
pub name: Option<String>,
pub workflow_name: Option<String>,
pub status: Option<String>,
pub url: Option<String>,
pub is_required: Option<bool>,
pub presentation: Option<PullRequestCheckPresentation>,
pub started_at: Option<DateTime<Utc>>,
pub completed_at: Option<DateTime<Utc>>,
}Expand description
ALPHA A CI/CD check or status check associated with a pull request (e.g., a GitHub Actions workflow run or a required status check).
Fields§
§name: Option<String>The name of the check.
workflow_name: Option<String>The name of the CI workflow that triggered the check (e.g., ‘CI’ or ‘Build and Test’). Null if the check is not part of a named workflow.
status: Option<String>The status of the check.
url: Option<String>The URL to view the check details on the hosting provider. Null if no URL is available.
is_required: Option<bool>Whether this check is required to pass before the pull request can be merged. Null if the required status is unknown.
presentation: Option<PullRequestCheckPresentation>How the check should be opened in the client.
started_at: Option<DateTime<Utc>>The date and time when the check started running. Null if the check has not started yet.
completed_at: Option<DateTime<Utc>>The date and time when the check finished running. Null if the check has not completed yet.
Trait Implementations§
Source§impl Clone for PullRequestCheck
impl Clone for PullRequestCheck
Source§fn clone(&self) -> PullRequestCheck
fn clone(&self) -> PullRequestCheck
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 PullRequestCheck
impl Debug for PullRequestCheck
Source§impl Default for PullRequestCheck
impl Default for PullRequestCheck
Source§fn default() -> PullRequestCheck
fn default() -> PullRequestCheck
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PullRequestCheckwhere
PullRequestCheck: Default,
impl<'de> Deserialize<'de> for PullRequestCheckwhere
PullRequestCheck: Default,
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 GraphQLFields for PullRequestCheck
impl GraphQLFields for PullRequestCheck
Auto Trait Implementations§
impl Freeze for PullRequestCheck
impl RefUnwindSafe for PullRequestCheck
impl Send for PullRequestCheck
impl Sync for PullRequestCheck
impl Unpin for PullRequestCheck
impl UnsafeUnpin for PullRequestCheck
impl UnwindSafe for PullRequestCheck
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