pub struct LintFileReportV19 { /* private fields */ }Expand description
Current output-v19 lint-file payload. Immutable prediction contracts are checked against the deterministic measurements-v16 projection while the report retains the complete measurements-v18 evidence.
Implementations§
Source§impl LintFileReportV19
impl LintFileReportV19
Sourcepub fn new(
path: impl Into<String>,
input: InputIdentity,
rig: RigInfo,
prediction_provenance: Option<PredictionProvenanceV3>,
checks: Vec<CheckEvaluation>,
measurements: MeasurementContract,
) -> Result<Self, OutputContractError>
pub fn new( path: impl Into<String>, input: InputIdentity, rig: RigInfo, prediction_provenance: Option<PredictionProvenanceV3>, checks: Vec<CheckEvaluation>, measurements: MeasurementContract, ) -> Result<Self, OutputContractError>
Construct a revision-1-profile record whose V3 graph is unchanged.
Sourcepub fn new_v5(
path: impl Into<String>,
input: InputIdentity,
rig: RigInfo,
prediction_provenance: Option<PredictionProvenanceV5>,
checks: Vec<CheckEvaluation>,
measurements: MeasurementContract,
) -> Result<Self, OutputContractError>
pub fn new_v5( path: impl Into<String>, input: InputIdentity, rig: RigInfo, prediction_provenance: Option<PredictionProvenanceV5>, checks: Vec<CheckEvaluation>, measurements: MeasurementContract, ) -> Result<Self, OutputContractError>
Construct a V5 record whose immutable prediction graph consumes V16.
Sourcepub fn new_v6(
path: impl Into<String>,
input: InputIdentity,
rig: RigInfo,
prediction_provenance: Option<PredictionProvenanceV6>,
checks: Vec<CheckEvaluation>,
measurements: MeasurementContract,
) -> Result<Self, OutputContractError>
pub fn new_v6( path: impl Into<String>, input: InputIdentity, rig: RigInfo, prediction_provenance: Option<PredictionProvenanceV6>, checks: Vec<CheckEvaluation>, measurements: MeasurementContract, ) -> Result<Self, OutputContractError>
Construct a V6 record whose immutable prediction graph consumes V16.
Sourcepub fn input(&self) -> &InputIdentity
pub fn input(&self) -> &InputIdentity
Immutable source-byte identity.
Sourcepub fn measurements(&self) -> &MeasurementContract
pub fn measurements(&self) -> &MeasurementContract
Nested current measurement evidence.
Sourcepub fn checks(&self) -> &[CheckEvaluation]
pub fn checks(&self) -> &[CheckEvaluation]
Catalog-ordered check records.
Sourcepub const fn prediction_provenance_v3(&self) -> Option<&PredictionProvenanceV3>
pub const fn prediction_provenance_v3(&self) -> Option<&PredictionProvenanceV3>
V3 provenance for a revision-1 profile.
Sourcepub const fn prediction_provenance_v5(&self) -> Option<&PredictionProvenanceV5>
pub const fn prediction_provenance_v5(&self) -> Option<&PredictionProvenanceV5>
Immutable V5 provenance.
Sourcepub const fn prediction_provenance_v6(&self) -> Option<&PredictionProvenanceV6>
pub const fn prediction_provenance_v6(&self) -> Option<&PredictionProvenanceV6>
Immutable V6 provenance.
Trait Implementations§
Source§impl Clone for LintFileReportV19
impl Clone for LintFileReportV19
Source§fn clone(&self) -> LintFileReportV19
fn clone(&self) -> LintFileReportV19
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 LintFileReportV19
impl Debug for LintFileReportV19
Auto Trait Implementations§
impl Freeze for LintFileReportV19
impl RefUnwindSafe for LintFileReportV19
impl Send for LintFileReportV19
impl Sync for LintFileReportV19
impl Unpin for LintFileReportV19
impl UnsafeUnpin for LintFileReportV19
impl UnwindSafe for LintFileReportV19
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