pub struct SharedStorageMetadata {
pub creation_time: TimeSinceEpoch,
pub length: JsUInt,
pub remaining_budget: JsFloat,
pub bytes_used: JsUInt,
}Expand description
Details for an origin’s shared storage.
Fields§
§creation_time: TimeSinceEpochTime when the origin’s shared storage was last created.
length: JsUIntNumber of key-value pairs stored in origin’s shared storage.
remaining_budget: JsFloatCurrent amount of bits of entropy remaining in the navigation budget.
bytes_used: JsUIntTotal number of bytes stored as key-value pairs in origin’s shared storage.
Trait Implementations§
Source§fn clone(&self) -> SharedStorageMetadata
fn clone(&self) -> SharedStorageMetadata
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§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§
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