pub struct LintFileReportV17 { /* private fields */ }Expand description
Current output-v17 lint file evidence with immutable V3, V5, or V6 provenance.
Implementations§
Source§impl LintFileReportV17
impl LintFileReportV17
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 output-v16 graph remains unchanged.
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 transform-path-and-intent-bound V6 record.
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>
Immutable V5 provenance.
Sourcepub const fn prediction_provenance_v6(&self) -> Option<&PredictionProvenanceV6>
pub const fn prediction_provenance_v6(&self) -> Option<&PredictionProvenanceV6>
Current V6 provenance.
Trait Implementations§
Source§impl Clone for LintFileReportV17
impl Clone for LintFileReportV17
Source§fn clone(&self) -> LintFileReportV17
fn clone(&self) -> LintFileReportV17
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 LintFileReportV17
impl Debug for LintFileReportV17
Auto Trait Implementations§
impl Freeze for LintFileReportV17
impl RefUnwindSafe for LintFileReportV17
impl Send for LintFileReportV17
impl Sync for LintFileReportV17
impl Unpin for LintFileReportV17
impl UnsafeUnpin for LintFileReportV17
impl UnwindSafe for LintFileReportV17
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