pub struct ModuleQueryCacheFacts {
pub cache_status: ModuleQueryCacheStatus,
pub timings: ModuleQueryTimings,
pub output_bytes: u64,
pub cache_entry_count: Option<u64>,
pub cache_approx_bytes: Option<u64>,
}Expand description
Cache and timing facts attached to cached batched module-query outcomes.
Fields§
§cache_status: ModuleQueryCacheStatus§timings: ModuleQueryTimings§output_bytes: u64§cache_entry_count: Option<u64>§cache_approx_bytes: Option<u64>Trait Implementations§
Source§impl Clone for ModuleQueryCacheFacts
impl Clone for ModuleQueryCacheFacts
Source§fn clone(&self) -> ModuleQueryCacheFacts
fn clone(&self) -> ModuleQueryCacheFacts
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 ModuleQueryCacheFacts
impl Debug for ModuleQueryCacheFacts
impl Eq for ModuleQueryCacheFacts
Source§impl PartialEq for ModuleQueryCacheFacts
impl PartialEq for ModuleQueryCacheFacts
impl StructuralPartialEq for ModuleQueryCacheFacts
Source§impl<'lean> TryFromLean<'lean> for ModuleQueryCacheFacts
impl<'lean> TryFromLean<'lean> for ModuleQueryCacheFacts
Source§fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
Decode
obj into Self, returning a
LeanError::Host with stage
[HostStage::Conversion] if the object’s kind or payload is
outside the type’s representable range. Read moreAuto Trait Implementations§
impl Freeze for ModuleQueryCacheFacts
impl RefUnwindSafe for ModuleQueryCacheFacts
impl Send for ModuleQueryCacheFacts
impl Sync for ModuleQueryCacheFacts
impl Unpin for ModuleQueryCacheFacts
impl UnsafeUnpin for ModuleQueryCacheFacts
impl UnwindSafe for ModuleQueryCacheFacts
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