Struct automatons_github::task::CreateCheckRun
source · [−]pub struct CreateCheckRun;
Expand description
Create a check run
Creates a new check run for a specific commit in a repository. The GitHub App must have the
checks:write
permission to create check runs.
In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.
Parameters
The task requires the following parameters in the state:
Owner
: The account owner of the repositoryRepositoryName
: The name of the repositoryCreateCheckRunInput
: The input for the task
https://docs.github.com/en/rest/checks/runs#create-a-check-run
Trait Implementations
sourceimpl Clone for CreateCheckRun
impl Clone for CreateCheckRun
sourcefn clone(&self) -> CreateCheckRun
fn clone(&self) -> CreateCheckRun
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CreateCheckRun
impl Debug for CreateCheckRun
sourceimpl Default for CreateCheckRun
impl Default for CreateCheckRun
sourcefn default() -> CreateCheckRun
fn default() -> CreateCheckRun
Returns the “default value” for a type. Read more
sourceimpl Hash for CreateCheckRun
impl Hash for CreateCheckRun
sourceimpl Ord for CreateCheckRun
impl Ord for CreateCheckRun
sourcefn cmp(&self, other: &CreateCheckRun) -> Ordering
fn cmp(&self, other: &CreateCheckRun) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
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>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<CreateCheckRun> for CreateCheckRun
impl PartialEq<CreateCheckRun> for CreateCheckRun
sourcefn eq(&self, other: &CreateCheckRun) -> bool
fn eq(&self, other: &CreateCheckRun) -> bool
sourceimpl PartialOrd<CreateCheckRun> for CreateCheckRun
impl PartialOrd<CreateCheckRun> for CreateCheckRun
sourcefn partial_cmp(&self, other: &CreateCheckRun) -> Option<Ordering>
fn partial_cmp(&self, other: &CreateCheckRun) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl Task for CreateCheckRun
impl Task for CreateCheckRun
impl Copy for CreateCheckRun
impl Eq for CreateCheckRun
impl StructuralEq for CreateCheckRun
impl StructuralPartialEq for CreateCheckRun
Auto Trait Implementations
impl RefUnwindSafe for CreateCheckRun
impl Send for CreateCheckRun
impl Sync for CreateCheckRun
impl Unpin for CreateCheckRun
impl UnwindSafe for CreateCheckRun
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
Mutably borrows from an owned value. Read more
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
Compare self to
key
and return true
if they are equal.