pub struct Report { /* private fields */ }
Expand description
Root element of a JUnit report
Implementations§
Source§impl Report
impl Report
Auto-generated by derive_getters::Getters
.
Sourcepub fn testsuites(&self) -> &Vec<TestSuite>
pub fn testsuites(&self) -> &Vec<TestSuite>
Get field testsuites
from instance of Report
.
Source§impl Report
impl Report
Sourcepub fn add_testsuite(&mut self, testsuite: TestSuite)
pub fn add_testsuite(&mut self, testsuite: TestSuite)
Sourcepub fn add_testsuites(
&mut self,
testsuites: impl IntoIterator<Item = TestSuite>,
)
pub fn add_testsuites( &mut self, testsuites: impl IntoIterator<Item = TestSuite>, )
Add multipleTestSuite
s from an iterator.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnwindSafe for Report
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more