pub struct CachedCompilation {
pub schema: Arc<CompiledSchema>,
pub hit_count: u64,
}Expand description
Cache entry for compiled schema with metadata.
Fields§
§schema: Arc<CompiledSchema>The compiled schema result.
hit_count: u64Number of cache hits for this entry.
Trait Implementations§
Source§impl Clone for CachedCompilation
impl Clone for CachedCompilation
Source§fn clone(&self) -> CachedCompilation
fn clone(&self) -> CachedCompilation
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 moreAuto Trait Implementations§
impl Freeze for CachedCompilation
impl RefUnwindSafe for CachedCompilation
impl Send for CachedCompilation
impl Sync for CachedCompilation
impl Unpin for CachedCompilation
impl UnsafeUnpin for CachedCompilation
impl UnwindSafe for CachedCompilation
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