pub struct CodePluginCache {
pub ir_hash: String,
pub file_hashes: HashMap<String, String>,
pub cached_at: String,
}Expand description
Cache entry for a single plugin’s generated code
Fields§
§ir_hash: StringHash of the IR that generated this code
file_hashes: HashMap<String, String>Per-file hashes for granular change detection Map of relative file path -> hash
cached_at: StringISO 8601 timestamp when this was cached
Trait Implementations§
Source§impl Clone for CodePluginCache
impl Clone for CodePluginCache
Source§fn clone(&self) -> CodePluginCache
fn clone(&self) -> CodePluginCache
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 CodePluginCache
impl Debug for CodePluginCache
Source§impl<'de> Deserialize<'de> for CodePluginCache
impl<'de> Deserialize<'de> for CodePluginCache
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 CodePluginCache
impl RefUnwindSafe for CodePluginCache
impl Send for CodePluginCache
impl Sync for CodePluginCache
impl Unpin for CodePluginCache
impl UnsafeUnpin for CodePluginCache
impl UnwindSafe for CodePluginCache
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