pub struct TestsModel {
pub query: String,
pub symbol: String,
pub def_files: Vec<String>,
pub rows: Vec<TestRow>,
pub test_file_count: usize,
pub ref_count: usize,
pub heuristic_file_count: usize,
pub heuristic_ref_count: usize,
pub bus: Table<BusHopRow>,
}Expand description
The resolved tests result for one symbol.
Fields§
§query: StringThe query value.
symbol: StringThe symbol value.
def_files: Vec<String>The def files value.
rows: Vec<TestRow>Precise rows first, heuristic rows after – the same discipline every other consumer keeps, so a guess never sits inside the list of facts.
test_file_count: usizeThe test file count value.
ref_count: usizeThe ref count value.
heuristic_file_count: usizeThe heuristic file count value.
heuristic_ref_count: usizeThe heuristic ref count value.
bus: Table<BusHopRow>Test files that PUBLISH a message this symbol (a handler) receives,
over a bus-hop – a possible route, runtime routing unverified,
never counted in test_file_count/ref_count or their heuristic
twins: a possible route must never inflate precise coverage.
Structurally separate from rows by construction – a different
field entirely, not a flag on an existing row – so nothing has to
remember to exclude it. --json omits the key entirely when empty.
Trait Implementations§
Source§impl Clone for TestsModel
impl Clone for TestsModel
Source§impl Debug for TestsModel
impl Debug for TestsModel
Source§impl PartialEq for TestsModel
impl PartialEq for TestsModel
impl StructuralPartialEq for TestsModel
Auto Trait Implementations§
impl Freeze for TestsModel
impl RefUnwindSafe for TestsModel
impl Send for TestsModel
impl Sync for TestsModel
impl Unpin for TestsModel
impl UnsafeUnpin for TestsModel
impl UnwindSafe for TestsModel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more