pub struct UpdateCheckRunArgs {
pub check_run_id: CheckRunId,
pub name: Option<CheckRunName>,
pub details_url: Option<Url>,
pub external_id: Option<String>,
pub started_at: Option<DateTime<Utc>>,
pub status: Option<CheckRunStatus>,
pub conclusion: Option<CheckRunConclusion>,
pub completed_at: Option<DateTime<Utc>>,
pub output: Option<CheckRunOutputArgs>,
}
Expand description
Input for update check run task
The input for the task that updates a check run represents the different parameters that GitHub’s API accepts.
https://docs.github.com/en/rest/checks/runs#update-a-check-run
Fields§
§check_run_id: CheckRunId
The unique identifier of the check run.
name: Option<CheckRunName>
The name of the check. For example, “code-coverage”.
details_url: Option<Url>
The URL of the integrator’s site that has the full details of the check.
external_id: Option<String>
A reference for the run on the integrator’s system.
started_at: Option<DateTime<Utc>>
The time that the check run began.
status: Option<CheckRunStatus>
The current status.
conclusion: Option<CheckRunConclusion>
The final conclusion of the check.
Required if you provide completed_at
or a status of completed
. Providing a conclusion
will automatically set the status parameter to completed
. You cannot change a check run
conclusion to stale
, only GitHub can set this.
completed_at: Option<DateTime<Utc>>
The time the check completed.
output: Option<CheckRunOutputArgs>
Check runs can accept a variety of data in the output object, including a title and summary and can optionally provide descriptive details about the run.
Trait Implementations§
Source§impl Clone for UpdateCheckRunArgs
impl Clone for UpdateCheckRunArgs
Source§fn clone(&self) -> UpdateCheckRunArgs
fn clone(&self) -> UpdateCheckRunArgs
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for UpdateCheckRunArgs
impl Debug for UpdateCheckRunArgs
Source§impl Hash for UpdateCheckRunArgs
impl Hash for UpdateCheckRunArgs
Source§impl Ord for UpdateCheckRunArgs
impl Ord for UpdateCheckRunArgs
Source§fn cmp(&self, other: &UpdateCheckRunArgs) -> Ordering
fn cmp(&self, other: &UpdateCheckRunArgs) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for UpdateCheckRunArgs
impl PartialEq for UpdateCheckRunArgs
Source§impl PartialOrd for UpdateCheckRunArgs
impl PartialOrd for UpdateCheckRunArgs
Source§impl Serialize for UpdateCheckRunArgs
impl Serialize for UpdateCheckRunArgs
impl Eq for UpdateCheckRunArgs
impl StructuralPartialEq for UpdateCheckRunArgs
Auto Trait Implementations§
impl Freeze for UpdateCheckRunArgs
impl RefUnwindSafe for UpdateCheckRunArgs
impl Send for UpdateCheckRunArgs
impl Sync for UpdateCheckRunArgs
impl Unpin for UpdateCheckRunArgs
impl UnwindSafe for UpdateCheckRunArgs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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
key
and return true
if they are equal.