pub struct UpdateCheckRun<'a> { /* private fields */ }
Expand description
Update a check run
Updates a check run for a specific commit in a repository. The GitHub App must have the
checks:write
permission to edit check runs.
https://docs.github.com/en/rest/checks/runs#update-a-check-run
Implementations§
Source§impl<'a> UpdateCheckRun<'a>
impl<'a> UpdateCheckRun<'a>
Sourcepub fn new(
github_client: &'a GitHubClient,
owner: &'a Login,
repository: &'a RepositoryName,
check_run_input: &'a UpdateCheckRunArgs,
) -> Self
pub fn new( github_client: &'a GitHubClient, owner: &'a Login, repository: &'a RepositoryName, check_run_input: &'a UpdateCheckRunArgs, ) -> Self
Initializes the task
Trait Implementations§
Source§impl<'a> Clone for UpdateCheckRun<'a>
impl<'a> Clone for UpdateCheckRun<'a>
Source§fn clone(&self) -> UpdateCheckRun<'a>
fn clone(&self) -> UpdateCheckRun<'a>
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<'a> Debug for UpdateCheckRun<'a>
impl<'a> Debug for UpdateCheckRun<'a>
impl<'a> Copy for UpdateCheckRun<'a>
Auto Trait Implementations§
impl<'a> Freeze for UpdateCheckRun<'a>
impl<'a> !RefUnwindSafe for UpdateCheckRun<'a>
impl<'a> Send for UpdateCheckRun<'a>
impl<'a> Sync for UpdateCheckRun<'a>
impl<'a> Unpin for UpdateCheckRun<'a>
impl<'a> !UnwindSafe for UpdateCheckRun<'a>
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