pub struct ResultCacheKeyV1 {Show 19 fields
pub format_version: u16,
pub collection_index_ref: CollectionIndexRef,
pub collection_security_generation: CollectionSecurityGeneration,
pub authorized_scope_digest: AuthorizedScopeDigestV1,
pub policy_generation: PolicyGeneration,
pub collection_reset_generation: CollectionResetGenerationV1,
pub deletion_overlay_generation: DeletionOverlayGenerationV1,
pub key_access_generation: KeyAccessGenerationV1,
pub normalized_plan_digest: NormalizedPlanDigestV1,
pub output_semantics_digest: OutputSemanticsDigestV1,
pub expected_shard_count: u16,
pub shard_generations: Vec<CacheShardGenerationV1>,
pub mapping_generation: SchemaGeneration,
pub freshness: CacheFreshnessV1,
pub reuse_scope: CacheReuseScopeV1,
pub from: u32,
pub limit: u32,
pub feature_flags_digest: FeatureFlagsDigestV1,
pub snapshot: CacheSnapshotBindingV1,
}Expand description
Complete semantic identity of one reusable result or committed sub-result.
Fields§
§format_version: u16§collection_index_ref: CollectionIndexRef§collection_security_generation: CollectionSecurityGeneration§policy_generation: PolicyGeneration§collection_reset_generation: CollectionResetGenerationV1§deletion_overlay_generation: DeletionOverlayGenerationV1§key_access_generation: KeyAccessGenerationV1§normalized_plan_digest: NormalizedPlanDigestV1§output_semantics_digest: OutputSemanticsDigestV1§expected_shard_count: u16§shard_generations: Vec<CacheShardGenerationV1>§mapping_generation: SchemaGeneration§freshness: CacheFreshnessV1§reuse_scope: CacheReuseScopeV1§from: u32§limit: u32§feature_flags_digest: FeatureFlagsDigestV1§snapshot: CacheSnapshotBindingV1Implementations§
Source§impl ResultCacheKeyV1
impl ResultCacheKeyV1
pub fn validate(&self) -> Result<(), DerivedContractError>
Trait Implementations§
Source§impl Clone for ResultCacheKeyV1
impl Clone for ResultCacheKeyV1
Source§impl Debug for ResultCacheKeyV1
impl Debug for ResultCacheKeyV1
Source§impl<'de> Deserialize<'de> for ResultCacheKeyV1
impl<'de> Deserialize<'de> for ResultCacheKeyV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ResultCacheKeyV1
Source§impl Hash for ResultCacheKeyV1
impl Hash for ResultCacheKeyV1
Source§impl PartialEq for ResultCacheKeyV1
impl PartialEq for ResultCacheKeyV1
Source§impl Serialize for ResultCacheKeyV1
impl Serialize for ResultCacheKeyV1
impl StructuralPartialEq for ResultCacheKeyV1
Auto Trait Implementations§
impl Freeze for ResultCacheKeyV1
impl RefUnwindSafe for ResultCacheKeyV1
impl Send for ResultCacheKeyV1
impl Sync for ResultCacheKeyV1
impl Unpin for ResultCacheKeyV1
impl UnsafeUnpin for ResultCacheKeyV1
impl UnwindSafe for ResultCacheKeyV1
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