pub struct LintFileReportV16 { /* private fields */ }Expand description
Current output-v16 lint file evidence with V3 or V5 prediction provenance.
Implementations§
Source§impl LintFileReportV16
impl LintFileReportV16
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 revision-2-contract record using V5 provenance and checks.
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 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>
V5 provenance for a revision-2-contract profile.
Trait Implementations§
Source§impl Clone for LintFileReportV16
impl Clone for LintFileReportV16
Source§fn clone(&self) -> LintFileReportV16
fn clone(&self) -> LintFileReportV16
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 LintFileReportV16
impl Debug for LintFileReportV16
Auto Trait Implementations§
impl Freeze for LintFileReportV16
impl RefUnwindSafe for LintFileReportV16
impl Send for LintFileReportV16
impl Sync for LintFileReportV16
impl Unpin for LintFileReportV16
impl UnsafeUnpin for LintFileReportV16
impl UnwindSafe for LintFileReportV16
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