pub struct QueryCacheRecord {
pub workspace_name: String,
pub snapshot_id: String,
pub input_fingerprint: String,
pub result_summary_json: Vec<u8>,
pub stored_at_unix_ms: u64,
pub expires_at_unix_ms: Option<u64>,
}Expand description
Bounded source-free cached result for one immutable snapshot and exact request fingerprint.
Fields§
§workspace_name: StringWorkspace owning the immutable snapshot.
snapshot_id: StringSnapshot used to compute the result.
input_fingerprint: StringStable fingerprint of the complete public query input.
result_summary_json: Vec<u8>Versioned JSON result without source bodies.
stored_at_unix_ms: u64Observation timestamp in Unix milliseconds.
expires_at_unix_ms: Option<u64>Optional expiry timestamp in Unix milliseconds.
Trait Implementations§
Source§impl Clone for QueryCacheRecord
impl Clone for QueryCacheRecord
Source§fn clone(&self) -> QueryCacheRecord
fn clone(&self) -> QueryCacheRecord
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 QueryCacheRecord
impl Debug for QueryCacheRecord
impl Eq for QueryCacheRecord
Source§impl PartialEq for QueryCacheRecord
impl PartialEq for QueryCacheRecord
impl StructuralPartialEq for QueryCacheRecord
Auto Trait Implementations§
impl Freeze for QueryCacheRecord
impl RefUnwindSafe for QueryCacheRecord
impl Send for QueryCacheRecord
impl Sync for QueryCacheRecord
impl Unpin for QueryCacheRecord
impl UnsafeUnpin for QueryCacheRecord
impl UnwindSafe for QueryCacheRecord
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