pub struct CheckRun { /* private fields */ }
Expand description
Check run
A check run is an individual test that is part of a check suite. Each run includes a status and conclusion.
Implementations§
Source§impl CheckRun
impl CheckRun
Sourcepub fn id(&self) -> CheckRunId
pub fn id(&self) -> CheckRunId
Returns the check run’s id.
Sourcepub fn name(&self) -> &CheckRunName
pub fn name(&self) -> &CheckRunName
Returns the check run’s name.
Sourcepub fn external_id(&self) -> &str
pub fn external_id(&self) -> &str
Returns the check run’s external id.
Sourcepub fn details_url(&self) -> &Url
pub fn details_url(&self) -> &Url
Returns the URL to the check run’s details.
Sourcepub fn status(&self) -> CheckRunStatus
pub fn status(&self) -> CheckRunStatus
Returns the check run’s status.
Sourcepub fn conclusion(&self) -> Option<CheckRunConclusion>
pub fn conclusion(&self) -> Option<CheckRunConclusion>
Returns the check run’s conclusion.
Sourcepub fn started_at(&self) -> &DateTime<Utc>
pub fn started_at(&self) -> &DateTime<Utc>
Returns the date when the check run was started.
Sourcepub fn completed_at(&self) -> &Option<DateTime<Utc>>
pub fn completed_at(&self) -> &Option<DateTime<Utc>>
Returns the date when the check run was completed.
Sourcepub fn output(&self) -> &Option<CheckRunOutput>
pub fn output(&self) -> &Option<CheckRunOutput>
Returns the check run’s output.
Sourcepub fn check_suite(&self) -> &Field<MinimalCheckSuite, CheckSuite>
pub fn check_suite(&self) -> &Field<MinimalCheckSuite, CheckSuite>
Returns the check run’s check suite.
Sourcepub fn pull_requests(&self) -> &Vec<PullRequest>
pub fn pull_requests(&self) -> &Vec<PullRequest>
Returns the check run’s pull requests.
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 Eq for CheckRun
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.