[−][src]Struct coveralls_api::Service
Service's are used for CI integration. Coveralls current supports
- travis ci
- travis pro
- circleCI
- Semaphore
- JenkinsCI
- Codeship
Fields
name: CiService
Name of the CiService
job_id: Option<String>
Job ID
number: Option<String>
Optional service_number
build_url: Option<String>
Optional service_build_url
branch: Option<String>
Optional service_branch
pull_request: Option<String>
Optional service_pull_request
Methods
impl Service
[src]
pub fn from_env() -> Option<Self>
[src]
pub fn from_ci(ci: CiService) -> Option<Self>
[src]
pub fn get_travis_env() -> Self
[src]
Gets service variables from travis environment Warning is unable to figure out if travis pro or free so assumes free
pub fn get_circle_env() -> Self
[src]
pub fn get_jenkins_env() -> Self
[src]
pub fn get_semaphore_env() -> Self
[src]
pub fn get_generic_env() -> Option<Self>
[src]
Trait Implementations
impl Clone for Service
[src]
impl Debug for Service
[src]
impl Eq for Service
[src]
impl Hash for Service
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for Service
[src]
fn cmp(&self, other: &Service) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Service> for Service
[src]
impl PartialOrd<Service> for Service
[src]
fn partial_cmp(&self, other: &Service) -> Option<Ordering>
[src]
fn lt(&self, other: &Service) -> bool
[src]
fn le(&self, other: &Service) -> bool
[src]
fn gt(&self, other: &Service) -> bool
[src]
fn ge(&self, other: &Service) -> bool
[src]
impl StructuralEq for Service
[src]
impl StructuralPartialEq for Service
[src]
Auto Trait Implementations
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnwindSafe for Service
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,