pub struct LintFileReportV18 { /* private fields */ }Expand description
Current output-v18 lint-file payload. Immutable prediction contracts are checked against the deterministic measurements-v16 projection while the report retains the complete measurements-v17 evidence.
Implementations§
Source§impl LintFileReportV18
impl LintFileReportV18
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 LintFileReportV18
impl Clone for LintFileReportV18
Source§fn clone(&self) -> LintFileReportV18
fn clone(&self) -> LintFileReportV18
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 LintFileReportV18
impl Debug for LintFileReportV18
Auto Trait Implementations§
impl Freeze for LintFileReportV18
impl RefUnwindSafe for LintFileReportV18
impl Send for LintFileReportV18
impl Sync for LintFileReportV18
impl Unpin for LintFileReportV18
impl UnsafeUnpin for LintFileReportV18
impl UnwindSafe for LintFileReportV18
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