pub struct TestMapIndex {
pub metadata: TestMapMetadata,
pub test_language: BTreeMap<String, String>,
pub test_to_files: BTreeMap<String, BTreeSet<String>>,
pub file_to_tests: BTreeMap<String, BTreeSet<String>>,
pub tests: Vec<String>,
pub file_index: Vec<String>,
pub coverage: Vec<Vec<Vec<u32>>>,
}Fields§
§metadata: TestMapMetadata§test_language: BTreeMap<String, String>§test_to_files: BTreeMap<String, BTreeSet<String>>Legacy index used by pre-v2 impact planners (file-level only).
file_to_tests: BTreeMap<String, BTreeSet<String>>Legacy inverse index used by pre-v2 impact planners (file-level only).
tests: Vec<String>V2 canonical test id list (index -> test id).
file_index: Vec<String>V2 canonical file key list (index -> repo-relative path).
coverage: Vec<Vec<Vec<u32>>>V2 coverage matrix: test_idx -> file_idx -> changed line numbers.
Trait Implementations§
Source§impl Clone for TestMapIndex
impl Clone for TestMapIndex
Source§fn clone(&self) -> TestMapIndex
fn clone(&self) -> TestMapIndex
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 TestMapIndex
impl Debug for TestMapIndex
Source§impl Default for TestMapIndex
impl Default for TestMapIndex
Source§fn default() -> TestMapIndex
fn default() -> TestMapIndex
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TestMapIndex
impl<'de> Deserialize<'de> for TestMapIndex
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TestMapIndex
impl RefUnwindSafe for TestMapIndex
impl Send for TestMapIndex
impl Sync for TestMapIndex
impl Unpin for TestMapIndex
impl UnsafeUnpin for TestMapIndex
impl UnwindSafe for TestMapIndex
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