pub struct CacheMeta {
pub program_hash: [u8; 32],
pub edb_fingerprint: Vec<u8>,
pub created_at: u64,
}Expand description
Metadata about a cached IDB snapshot.
Fields§
§program_hash: [u8; 32]SHA-256 of the program source text.
edb_fingerprint: Vec<u8>Combined fingerprint of all EDB sources.
created_at: u64Unix timestamp when the cache was created.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CacheMeta
impl<'de> Deserialize<'de> for CacheMeta
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 CacheMeta
impl RefUnwindSafe for CacheMeta
impl Send for CacheMeta
impl Sync for CacheMeta
impl Unpin for CacheMeta
impl UnsafeUnpin for CacheMeta
impl UnwindSafe for CacheMeta
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