pub enum CodecovService {
Github,
Bitbucket,
Gitlab,
}Expand description
Represents the values service can take in a codecov = { ... } badge
Variants§
Github
codecov = { service = "github" }
Bitbucket
codecov = { service = "bitbucket" }
Gitlab
codecov = { service = "gitlab" }
Trait Implementations§
Source§impl Clone for CodecovService
impl Clone for CodecovService
Source§fn clone(&self) -> CodecovService
fn clone(&self) -> CodecovService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CodecovService
Source§impl Debug for CodecovService
impl Debug for CodecovService
Source§impl Display for CodecovService
impl Display for CodecovService
Source§impl PartialEq for CodecovService
impl PartialEq for CodecovService
Source§fn eq(&self, other: &CodecovService) -> bool
fn eq(&self, other: &CodecovService) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CodecovService
Auto Trait Implementations§
impl Freeze for CodecovService
impl RefUnwindSafe for CodecovService
impl Send for CodecovService
impl Sync for CodecovService
impl Unpin for CodecovService
impl UnsafeUnpin for CodecovService
impl UnwindSafe for CodecovService
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DependencyExt for Twhere
T: Display,
impl<T> DependencyExt for Twhere
T: Display,
Source§fn version(&self, version: &str) -> Dependency
fn version(&self, version: &str) -> Dependency
Constructs a
Dependency using self.to_string() as the name, and version as the
semver version Read moreSource§fn repo(&self, repo: &str) -> Dependency
fn repo(&self, repo: &str) -> Dependency
Constructs a
Dependency using self.to_string() as the name, and repo as the git
repository Read moreSource§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