pub struct SampleCacheKey {
pub nodes: Arc<[(u32, u32, u8)]>,
pub reference: (u8, u64),
pub policies: (u8, u8, u8),
pub data_len: usize,
pub time_index_version: u64,
}Expand description
Cache key for reusable plans (same request + data/policy version → same rows).
Fields§
§nodes: Arc<[(u32, u32, u8)]>Ordered node fingerprints: (variable raw, lag raw, role).
reference: (u8, u64)Reference policy discriminant + origin.
policies: (u8, u8, u8)Missing / mask / weight policy discriminants.
data_len: usizeRow count / series length.
time_index_version: u64Time-index version proxy (0 for tabular; series length for temporal).
Trait Implementations§
Source§impl Clone for SampleCacheKey
impl Clone for SampleCacheKey
Source§fn clone(&self) -> SampleCacheKey
fn clone(&self) -> SampleCacheKey
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 SampleCacheKey
impl Debug for SampleCacheKey
impl Eq for SampleCacheKey
Source§impl Hash for SampleCacheKey
impl Hash for SampleCacheKey
Source§impl PartialEq for SampleCacheKey
impl PartialEq for SampleCacheKey
impl StructuralPartialEq for SampleCacheKey
Auto Trait Implementations§
impl Freeze for SampleCacheKey
impl RefUnwindSafe for SampleCacheKey
impl Send for SampleCacheKey
impl Sync for SampleCacheKey
impl Unpin for SampleCacheKey
impl UnsafeUnpin for SampleCacheKey
impl UnwindSafe for SampleCacheKey
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