pub struct CachedCapsule {
pub capsule: String,
pub store_id: HexId,
pub root: HexId,
pub size_bytes: u64,
pub last_used_unix_ms: u64,
}Expand description
One durable cached-module entry.
Fields§
§capsule: StringThe canonical capsule identity, storeId:rootHash.
store_id: HexIdThe store launcher id (64-hex).
root: HexIdThe generation root (64-hex).
size_bytes: u64The module size in bytes.
last_used_unix_ms: u64When the module was last used (unix ms).
Trait Implementations§
Source§impl Clone for CachedCapsule
impl Clone for CachedCapsule
Source§fn clone(&self) -> CachedCapsule
fn clone(&self) -> CachedCapsule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CachedCapsule
impl Debug for CachedCapsule
Source§impl<'de> Deserialize<'de> for CachedCapsule
impl<'de> Deserialize<'de> for CachedCapsule
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
impl Eq for CachedCapsule
Source§impl PartialEq for CachedCapsule
impl PartialEq for CachedCapsule
Source§impl Serialize for CachedCapsule
impl Serialize for CachedCapsule
impl StructuralPartialEq for CachedCapsule
Auto Trait Implementations§
impl Freeze for CachedCapsule
impl RefUnwindSafe for CachedCapsule
impl Send for CachedCapsule
impl Sync for CachedCapsule
impl Unpin for CachedCapsule
impl UnsafeUnpin for CachedCapsule
impl UnwindSafe for CachedCapsule
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