pub struct CachedInsight {
pub content_hash: String,
pub file_path: String,
pub priority: Priority,
pub insights: Vec<String>,
pub phase: String,
pub cached_at: DateTime<Utc>,
pub file_size: u64,
pub last_modified: DateTime<Utc>,
}Expand description
Cached insight data for a file
Fields§
§content_hash: StringBLAKE3 hash of the file content when insights were generated
file_path: StringFile path (for reference)
priority: PriorityPriority level of the file
insights: Vec<String>Core insights (10-25 bullet points per R3.5)
phase: StringPhase this insight was generated for
cached_at: DateTime<Utc>Timestamp when insight was cached
file_size: u64File size when cached (for validation)
last_modified: DateTime<Utc>Last modified time when cached (for validation)
Trait Implementations§
Source§impl Clone for CachedInsight
impl Clone for CachedInsight
Source§fn clone(&self) -> CachedInsight
fn clone(&self) -> CachedInsight
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 CachedInsight
impl Debug for CachedInsight
Source§impl<'de> Deserialize<'de> for CachedInsight
impl<'de> Deserialize<'de> for CachedInsight
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 CachedInsight
impl RefUnwindSafe for CachedInsight
impl Send for CachedInsight
impl Sync for CachedInsight
impl Unpin for CachedInsight
impl UnsafeUnpin for CachedInsight
impl UnwindSafe for CachedInsight
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