[−][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 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 PartialEq<Service> for Service
[src]
impl Clone for Service
[src]
fn clone(&self) -> Service
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Ord for Service
[src]
fn cmp(&self, other: &Service) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
impl Eq for Service
[src]
impl Debug for Service
[src]
impl Hash for Service
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,