pub struct CachedStudy {
pub id: String,
pub patient_name: String,
pub description: String,
pub series_count: usize,
pub total_slices: usize,
pub tier: CacheTier,
pub cached_at: Instant,
pub last_accessed: Instant,
pub memory_bytes: usize,
pub series_ids: Vec<String>,
}Expand description
Cached study metadata and entries
Fields§
§id: StringStudy ID
patient_name: StringPatient name (for display)
description: StringStudy description
series_count: usizeTotal number of series
total_slices: usizeTotal number of slices across all series
tier: CacheTierCurrent cache tier (highest tier of any entry)
cached_at: InstantWhen study was first cached
last_accessed: InstantWhen study was last accessed
memory_bytes: usizeTotal memory used by this study
series_ids: Vec<String>Series IDs in this study
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CachedStudy
impl RefUnwindSafe for CachedStudy
impl Send for CachedStudy
impl Sync for CachedStudy
impl Unpin for CachedStudy
impl UnwindSafe for CachedStudy
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