pub struct CacheEntry {
pub hash: String,
pub adapter: String,
pub timestamp: u64,
pub passed: bool,
pub total_passed: usize,
pub total_failed: usize,
pub total_skipped: usize,
pub total_tests: usize,
pub duration_ms: u64,
pub extra_args: Vec<String>,
}Expand description
A cached test result.
Fields§
§hash: StringContent hash of the project files.
adapter: StringAdapter name used.
timestamp: u64Timestamp when cached (epoch seconds).
passed: boolWhether the cached run passed.
total_passed: usizeNumber of tests that passed / failed / skipped.
total_failed: usize§total_skipped: usize§total_tests: usize§duration_ms: u64Duration of the original run in milliseconds.
extra_args: Vec<String>Extra args used.
Implementations§
Source§impl CacheEntry
impl CacheEntry
Trait Implementations§
Source§impl Clone for CacheEntry
impl Clone for CacheEntry
Source§fn clone(&self) -> CacheEntry
fn clone(&self) -> CacheEntry
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 CacheEntry
impl Debug for CacheEntry
Source§impl<'de> Deserialize<'de> for CacheEntry
impl<'de> Deserialize<'de> for CacheEntry
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 CacheEntry
impl RefUnwindSafe for CacheEntry
impl Send for CacheEntry
impl Sync for CacheEntry
impl Unpin for CacheEntry
impl UnsafeUnpin for CacheEntry
impl UnwindSafe for CacheEntry
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