pub struct CapsuleEntry {
pub capsule: String,
pub root: String,
pub size_bytes: u64,
pub last_used_unix_ms: u64,
}Expand description
One cached capsule of a store, as listed by the hosted-stores methods.
Fields§
§capsule: StringThe capsule reference (storeId:rootHash).
root: StringThe capsule root hash.
size_bytes: u64The capsule size on disk, in bytes.
last_used_unix_ms: u64When the capsule was last served, in unix milliseconds.
Trait Implementations§
Source§impl Clone for CapsuleEntry
impl Clone for CapsuleEntry
Source§fn clone(&self) -> CapsuleEntry
fn clone(&self) -> CapsuleEntry
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 CapsuleEntry
impl Debug for CapsuleEntry
Source§impl<'de> Deserialize<'de> for CapsuleEntry
impl<'de> Deserialize<'de> for CapsuleEntry
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 CapsuleEntry
Source§impl PartialEq for CapsuleEntry
impl PartialEq for CapsuleEntry
Source§impl Serialize for CapsuleEntry
impl Serialize for CapsuleEntry
impl StructuralPartialEq for CapsuleEntry
Auto Trait Implementations§
impl Freeze for CapsuleEntry
impl RefUnwindSafe for CapsuleEntry
impl Send for CapsuleEntry
impl Sync for CapsuleEntry
impl Unpin for CapsuleEntry
impl UnsafeUnpin for CapsuleEntry
impl UnwindSafe for CapsuleEntry
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