pub struct TestIdRef<'a> {
pub id: Cow<'a, str>,
pub rust_path: Option<&'static str>,
}Expand description
A test id as the tree and the locators carry it.
Fields§
§id: Cow<'a, str>The string.
rust_path: Option<&'static str>The Rust path of the variant it came from, when it came from a TestId.
Implementations§
Trait Implementations§
impl<'a> Eq for TestIdRef<'a>
Source§impl<'a> IntoTestId<'a> for TestIdRef<'a>
impl<'a> IntoTestId<'a> for TestIdRef<'a>
Source§fn into_test_id(self) -> TestIdRef<'a>
fn into_test_id(self) -> TestIdRef<'a>
The id as the tree carries it.
Source§fn qualified_rust_path(&self) -> Option<&'static str>
fn qualified_rust_path(&self) -> Option<&'static str>
The
TestId::qualified_path of a typed id; None for a string.impl<'a> StructuralPartialEq for TestIdRef<'a>
Auto Trait Implementations§
impl<'a> Forget for TestIdRef<'a>
impl<'a> Freeze for TestIdRef<'a>
impl<'a> Move for TestIdRef<'a>
impl<'a> RefUnwindSafe for TestIdRef<'a>where
String: RefUnwindSafe,
impl<'a> Send for TestIdRef<'a>
impl<'a> Sync for TestIdRef<'a>
impl<'a> Unpin for TestIdRef<'a>
impl<'a> UnsafeUnpin for TestIdRef<'a>
impl<'a> UnwindSafe for TestIdRef<'a>
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