pub struct QueryCacheEntry {
pub parsed_query: ParsedQuery,
pub plan: QueryPlan,
pub cached_at: Instant,
pub hit_count: u64,
}Expand description
Query cache entry
Fields§
§parsed_query: ParsedQueryParsed query
plan: QueryPlanQuery plan
cached_at: InstantCache timestamp
hit_count: u64Hit count
Trait Implementations§
Source§impl Clone for QueryCacheEntry
impl Clone for QueryCacheEntry
Source§fn clone(&self) -> QueryCacheEntry
fn clone(&self) -> QueryCacheEntry
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 moreAuto Trait Implementations§
impl Freeze for QueryCacheEntry
impl RefUnwindSafe for QueryCacheEntry
impl Send for QueryCacheEntry
impl Sync for QueryCacheEntry
impl Unpin for QueryCacheEntry
impl UnsafeUnpin for QueryCacheEntry
impl UnwindSafe for QueryCacheEntry
Blanket Implementations§
impl<T> Allocation for T
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