pub struct GitHub { /* private fields */ }
Trait Implementations§
Source§impl CI for GitHub
impl CI for GitHub
fn detect(&self) -> bool
fn ci_name(&self) -> String
fn ci_url(&self) -> String
fn branch(&self) -> String
fn workflow(&self) -> String
fn job(&self) -> String
fn build_id(&self) -> String
fn build_url(&self) -> String
fn pull_number(&self) -> String
fn repository_name(&self) -> String
fn repository_url(&self) -> String
fn pull_url(&self) -> String
fn commit_sha(&self) -> String
fn metadata(&self) -> CoverageMetadata
Auto Trait Implementations§
impl Freeze for GitHub
impl !RefUnwindSafe for GitHub
impl !Send for GitHub
impl !Sync for GitHub
impl Unpin for GitHub
impl !UnwindSafe for GitHub
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more