Struct coveralls_api::CoverallsReport
[−]
[src]
pub struct CoverallsReport { /* fields omitted */ }Coveralls report struct for more details: https://coveralls.zendesk.com/hc/en-us/articles/201350799-API-Reference
Methods
impl CoverallsReport[src]
fn new(id: Identity) -> CoverallsReport
Create new coveralls report given a unique identifier which allows coveralls to identify the user and project
fn add_source(&mut self, source: Source)
Add generated source data to coveralls report.
fn set_commit(&mut self, commit: &str)
Sets the commit ID. Overrides more detailed git info
fn set_detailed_git_info(&mut self, git: GitInfo)
Set detailed git information, overrides commit ID if set.
fn send_to_coveralls(&mut self) -> Result<(), Error>
Send report to the coveralls.io directly. For coveralls hosted on other platforms see send_to_endpoint
fn send_to_endpoint(&mut self, url: &str) -> Result<(), Error>
Sends coveralls report to the specified url