pub struct LeanWorkerModuleSnapshotCacheClearResult {
pub entries_cleared: u64,
pub approx_bytes_cleared: u64,
}Expand description
Result of manually clearing the worker-side module snapshot cache.
Fields§
§entries_cleared: u64§approx_bytes_cleared: u64Trait Implementations§
Source§impl Clone for LeanWorkerModuleSnapshotCacheClearResult
impl Clone for LeanWorkerModuleSnapshotCacheClearResult
Source§fn clone(&self) -> LeanWorkerModuleSnapshotCacheClearResult
fn clone(&self) -> LeanWorkerModuleSnapshotCacheClearResult
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<'de> Deserialize<'de> for LeanWorkerModuleSnapshotCacheClearResult
impl<'de> Deserialize<'de> for LeanWorkerModuleSnapshotCacheClearResult
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerModuleSnapshotCacheClearResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LeanWorkerModuleSnapshotCacheClearResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LeanWorkerModuleSnapshotCacheClearResult
Source§impl PartialEq for LeanWorkerModuleSnapshotCacheClearResult
impl PartialEq for LeanWorkerModuleSnapshotCacheClearResult
Source§fn eq(&self, other: &LeanWorkerModuleSnapshotCacheClearResult) -> bool
fn eq(&self, other: &LeanWorkerModuleSnapshotCacheClearResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LeanWorkerModuleSnapshotCacheClearResult
impl Serialize for LeanWorkerModuleSnapshotCacheClearResult
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LeanWorkerModuleSnapshotCacheClearResult
Auto Trait Implementations§
impl Freeze for LeanWorkerModuleSnapshotCacheClearResult
impl RefUnwindSafe for LeanWorkerModuleSnapshotCacheClearResult
impl Send for LeanWorkerModuleSnapshotCacheClearResult
impl Sync for LeanWorkerModuleSnapshotCacheClearResult
impl Unpin for LeanWorkerModuleSnapshotCacheClearResult
impl UnsafeUnpin for LeanWorkerModuleSnapshotCacheClearResult
impl UnwindSafe for LeanWorkerModuleSnapshotCacheClearResult
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