Struct octocrab::checks::UpdateCheckRunBuilder
source · pub struct UpdateCheckRunBuilder<'octo, 'r> { /* private fields */ }
Implementations§
source§impl<'octo, 'r> UpdateCheckRunBuilder<'octo, 'r>
impl<'octo, 'r> UpdateCheckRunBuilder<'octo, 'r>
sourcepub fn name(self, name: impl Into<String>) -> Self
pub fn name(self, name: impl Into<String>) -> Self
The name of the check. For example, “code-coverage”.
sourcepub fn details_url(self, details_url: impl Into<String>) -> Self
pub fn details_url(self, details_url: impl Into<String>) -> Self
The URL of the integrator’s site that has the full details of the check. If the integrator does not provide this, then the homepage of the GitHub app is used.
sourcepub fn external_url(self, external_id: impl Into<String>) -> Self
pub fn external_url(self, external_id: impl Into<String>) -> Self
A reference for the run on the integrator’s system.
sourcepub fn started_at(self, started_at: DateTime<Utc>) -> Self
pub fn started_at(self, started_at: DateTime<Utc>) -> Self
The time that the check run began.
sourcepub fn status(self, status: CheckRunStatus) -> Self
pub fn status(self, status: CheckRunStatus) -> Self
The current status.
Can be one of queued
, in_progress
, or completed
.
sourcepub fn conclusion(self, conclusion: CheckRunConclusion) -> Self
pub fn conclusion(self, conclusion: CheckRunConclusion) -> Self
The final conclusion of the check.
sourcepub fn completed_at(self, completed_at: DateTime<Utc>) -> Self
pub fn completed_at(self, completed_at: DateTime<Utc>) -> Self
The time that the check run completed.
sourcepub fn output(self, output: CheckRunOutput) -> Self
pub fn output(self, output: CheckRunOutput) -> Self
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§
Auto Trait Implementations§
impl<'octo, 'r> Freeze for UpdateCheckRunBuilder<'octo, 'r>
impl<'octo, 'r> !RefUnwindSafe for UpdateCheckRunBuilder<'octo, 'r>
impl<'octo, 'r> Send for UpdateCheckRunBuilder<'octo, 'r>
impl<'octo, 'r> Sync for UpdateCheckRunBuilder<'octo, 'r>
impl<'octo, 'r> Unpin for UpdateCheckRunBuilder<'octo, 'r>
impl<'octo, 'r> !UnwindSafe for UpdateCheckRunBuilder<'octo, 'r>
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