[−][src]Struct coveralls_api::CoverallsReport
Coveralls report struct for more details: https://coveralls.zendesk.com/hc/en-us/articles/201350799-API-Reference
Methods
impl CoverallsReport
[src]
pub fn new(id: Identity) -> CoverallsReport
[src]
Create new coveralls report given a unique identifier which allows coveralls to identify the user and project
pub fn add_source(&mut self, source: Source)
[src]
Add generated source data to coveralls report.
pub fn set_commit(&mut self, commit: &str)
[src]
Sets the commit ID. Overrides more detailed git info
pub fn set_detailed_git_info(&mut self, git: GitInfo)
[src]
Set detailed git information, overrides commit ID if set.
pub fn send_to_coveralls(&mut self) -> Result<(), Error>
[src]
Send report to the coveralls.io directly. For coveralls hosted on other platforms see send_to_endpoint
pub fn send_to_endpoint(&mut self, url: &str) -> Result<(), Error>
[src]
Sends coveralls report to the specified url
pub fn upload_status(&mut self) -> UploadStatus
[src]
Trait Implementations
impl Serialize for CoverallsReport
[src]
Auto Trait Implementations
impl Send for CoverallsReport
impl !Sync for CoverallsReport
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
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,