pub struct FibQuantCompressionReceiptV1 {Show 23 fields
pub schema_version: String,
pub profile_digest: String,
pub codebook_digest: String,
pub rotation_digest: String,
pub source_vector_digest: String,
pub encoded_digest: String,
pub norm_format: NormFormat,
pub code_schema_version: String,
pub profile_schema_version: String,
pub codebook_schema_version: String,
pub ambient_dim: u32,
pub block_dim: u32,
pub codebook_size: u32,
pub paper_rate_bits_per_coord: f64,
pub wire_index_bits: u8,
pub wire_bits_per_coord: f64,
pub rotation_seed: u64,
pub rotation_algorithm_version: String,
pub codebook_seed: u64,
pub mse: Option<f64>,
pub cosine_similarity: Option<f64>,
pub fallback_available: bool,
pub recorded_unix_seconds: i64,
}Expand description
Compression receipt emitted by encode_with_receipt.
Fields§
§schema_version: StringStable schema marker.
profile_digest: StringProfile digest.
codebook_digest: StringCodebook digest.
rotation_digest: StringRotation digest.
source_vector_digest: StringDigest over the canonical source vector bytes.
encoded_digest: StringEncoded payload digest.
norm_format: NormFormatNorm payload format used by the encoded artifact.
code_schema_version: StringEncoded artifact schema marker.
profile_schema_version: StringProfile schema marker.
codebook_schema_version: StringCodebook schema marker.
ambient_dim: u32Ambient dimension d.
block_dim: u32Block dimension k.
codebook_size: u32Codebook size N.
paper_rate_bits_per_coord: f64Paper rate.
wire_index_bits: u8Wire index bits.
wire_bits_per_coord: f64Wire rate.
rotation_seed: u64Rotation seed.
rotation_algorithm_version: StringRotation algorithm identity.
codebook_seed: u64Codebook seed.
mse: Option<f64>Optional reconstruction MSE if measured.
cosine_similarity: Option<f64>Optional cosine similarity if measured.
fallback_available: boolWhether a fallback codec was available.
recorded_unix_seconds: i64Unix timestamp seconds, supplied by caller path.
Trait Implementations§
Source§impl Clone for FibQuantCompressionReceiptV1
impl Clone for FibQuantCompressionReceiptV1
Source§fn clone(&self) -> FibQuantCompressionReceiptV1
fn clone(&self) -> FibQuantCompressionReceiptV1
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 FibQuantCompressionReceiptV1
impl Debug for FibQuantCompressionReceiptV1
Source§impl<'de> Deserialize<'de> for FibQuantCompressionReceiptV1
impl<'de> Deserialize<'de> for FibQuantCompressionReceiptV1
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
Source§impl PartialEq for FibQuantCompressionReceiptV1
impl PartialEq for FibQuantCompressionReceiptV1
Source§fn eq(&self, other: &FibQuantCompressionReceiptV1) -> bool
fn eq(&self, other: &FibQuantCompressionReceiptV1) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FibQuantCompressionReceiptV1
Auto Trait Implementations§
impl Freeze for FibQuantCompressionReceiptV1
impl RefUnwindSafe for FibQuantCompressionReceiptV1
impl Send for FibQuantCompressionReceiptV1
impl Sync for FibQuantCompressionReceiptV1
impl Unpin for FibQuantCompressionReceiptV1
impl UnsafeUnpin for FibQuantCompressionReceiptV1
impl UnwindSafe for FibQuantCompressionReceiptV1
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.