Trait CI

Source
pub trait CI {
Show 14 methods // Required methods fn detect(&self) -> bool; fn ci_name(&self) -> String; fn ci_url(&self) -> String; fn repository_name(&self) -> String; fn repository_url(&self) -> String; fn branch(&self) -> String; fn pull_number(&self) -> String; fn pull_url(&self) -> String; fn commit_sha(&self) -> String; fn workflow(&self) -> String; fn job(&self) -> String; fn build_id(&self) -> String; fn build_url(&self) -> String; // Provided method fn metadata(&self) -> CoverageMetadata { ... }
}

Required Methods§

Source

fn detect(&self) -> bool

Source

fn ci_name(&self) -> String

Source

fn ci_url(&self) -> String

Source

fn repository_name(&self) -> String

Source

fn repository_url(&self) -> String

Source

fn branch(&self) -> String

Source

fn pull_number(&self) -> String

Source

fn pull_url(&self) -> String

Source

fn commit_sha(&self) -> String

Source

fn workflow(&self) -> String

Source

fn job(&self) -> String

Source

fn build_id(&self) -> String

Source

fn build_url(&self) -> String

Provided Methods§

Implementors§