pub enum PathElement {
}Expand description
Represents a location in the XML document structure.
Variants§
TestSuites
The root <testsuites> element
TestSuite(usize, Option<String>)
A <testsuite> element at the given index, with optional name
TestCase(usize, Option<String>)
A <testcase> element at the given index, with optional name
Properties
The <properties> container element
Property(usize)
A <property> element at the given index
Failure
A <failure> element
Error
An <error> element
Skipped
A <skipped> element
FlakyFailure
A <flakyFailure> element
FlakyError
A <flakyError> element
RerunFailure
A <rerunFailure> element
RerunError
A <rerunError> element
SystemOut
A <system-out> element
SystemErr
A <system-err> element
Attribute(String)
An attribute with the given name
Trait Implementations§
Source§impl Clone for PathElement
impl Clone for PathElement
Source§fn clone(&self) -> PathElement
fn clone(&self) -> PathElement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PathElement
impl Debug for PathElement
Source§impl Display for PathElement
impl Display for PathElement
Source§impl PartialEq for PathElement
impl PartialEq for PathElement
impl Eq for PathElement
impl StructuralPartialEq for PathElement
Auto Trait Implementations§
impl Freeze for PathElement
impl RefUnwindSafe for PathElement
impl Send for PathElement
impl Sync for PathElement
impl Unpin for PathElement
impl UnwindSafe for PathElement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.