pub struct ApproximateWeightQualityApprovalRecord { /* private fields */ }Expand description
Serializable receipt embedded into an approximate execution-weight plan.
This record is evidence, not authority: only the non-serializable
TrustedExecutionWeightPlan produced by the process-local registry can
carry it into an executable plan. It binds reusable numeric evidence to the
exact live source and execution schema fingerprints selected for this plan.
Implementations§
Source§impl ApproximateWeightQualityApprovalRecord
impl ApproximateWeightQualityApprovalRecord
pub fn artifact_sha256(&self) -> &str
pub fn source_schema_fingerprint(&self) -> &str
pub fn execution_schema_fingerprint(&self) -> &str
pub fn execution_contract_fingerprint(&self) -> &str
pub fn quality_vector_digest(&self) -> &str
pub const fn completed_case_count(&self) -> u32
pub const fn relative_l2_max_observed(&self) -> CanonicalRational
pub const fn nan_count(&self) -> u64
pub const fn inf_count(&self) -> u64
Trait Implementations§
Source§impl Clone for ApproximateWeightQualityApprovalRecord
impl Clone for ApproximateWeightQualityApprovalRecord
Source§fn clone(&self) -> ApproximateWeightQualityApprovalRecord
fn clone(&self) -> ApproximateWeightQualityApprovalRecord
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<'de> Deserialize<'de> for ApproximateWeightQualityApprovalRecord
impl<'de> Deserialize<'de> for ApproximateWeightQualityApprovalRecord
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 ApproximateWeightQualityApprovalRecord
impl StructuralPartialEq for ApproximateWeightQualityApprovalRecord
Auto Trait Implementations§
impl Freeze for ApproximateWeightQualityApprovalRecord
impl RefUnwindSafe for ApproximateWeightQualityApprovalRecord
impl Send for ApproximateWeightQualityApprovalRecord
impl Sync for ApproximateWeightQualityApprovalRecord
impl Unpin for ApproximateWeightQualityApprovalRecord
impl UnsafeUnpin for ApproximateWeightQualityApprovalRecord
impl UnwindSafe for ApproximateWeightQualityApprovalRecord
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