Struct automatons_github::task::UpdateCheckRunInput
source · [−]pub struct UpdateCheckRunInput {
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<CheckRunOutput>,
}
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<CheckRunOutput>
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
sourceimpl Clone for UpdateCheckRunInput
impl Clone for UpdateCheckRunInput
sourcefn clone(&self) -> UpdateCheckRunInput
fn clone(&self) -> UpdateCheckRunInput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for UpdateCheckRunInput
impl Debug for UpdateCheckRunInput
sourceimpl Hash for UpdateCheckRunInput
impl Hash for UpdateCheckRunInput
sourceimpl Ord for UpdateCheckRunInput
impl Ord for UpdateCheckRunInput
sourcefn cmp(&self, other: &UpdateCheckRunInput) -> Ordering
fn cmp(&self, other: &UpdateCheckRunInput) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
sourceimpl PartialEq<UpdateCheckRunInput> for UpdateCheckRunInput
impl PartialEq<UpdateCheckRunInput> for UpdateCheckRunInput
sourcefn eq(&self, other: &UpdateCheckRunInput) -> bool
fn eq(&self, other: &UpdateCheckRunInput) -> bool
sourceimpl PartialOrd<UpdateCheckRunInput> for UpdateCheckRunInput
impl PartialOrd<UpdateCheckRunInput> for UpdateCheckRunInput
sourcefn partial_cmp(&self, other: &UpdateCheckRunInput) -> Option<Ordering>
fn partial_cmp(&self, other: &UpdateCheckRunInput) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresourceimpl Serialize for UpdateCheckRunInput
impl Serialize for UpdateCheckRunInput
impl Eq for UpdateCheckRunInput
impl StructuralEq for UpdateCheckRunInput
impl StructuralPartialEq for UpdateCheckRunInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateCheckRunInput
impl Send for UpdateCheckRunInput
impl Sync for UpdateCheckRunInput
impl Unpin for UpdateCheckRunInput
impl UnwindSafe for UpdateCheckRunInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.