Struct octocrab::checks::CreateCheckRunBuilder
source · pub struct CreateCheckRunBuilder<'octo, 'r> { /* private fields */ }
Implementations§
source§impl<'octo, 'r> CreateCheckRunBuilder<'octo, 'r>
impl<'octo, 'r> CreateCheckRunBuilder<'octo, 'r>
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_id(self, external_id: impl Into<String>) -> Self
pub fn external_id(self, external_id: impl Into<String>) -> Self
A reference for the run on the integrator’s system.
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 CreateCheckRunBuilder<'octo, 'r>
impl<'octo, 'r> !RefUnwindSafe for CreateCheckRunBuilder<'octo, 'r>
impl<'octo, 'r> Send for CreateCheckRunBuilder<'octo, 'r>
impl<'octo, 'r> Sync for CreateCheckRunBuilder<'octo, 'r>
impl<'octo, 'r> Unpin for CreateCheckRunBuilder<'octo, 'r>
impl<'octo, 'r> !UnwindSafe for CreateCheckRunBuilder<'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