pub struct RunEvidenceBuilder { /* private fields */ }Expand description
Builder used by Forge/Trials runners to assemble evidence from runtime output.
Implementations§
Source§impl RunEvidenceBuilder
impl RunEvidenceBuilder
pub fn new( run_id: impl Into<String>, trial_suite_version: impl Into<String>, protocol_profile: ProtocolProfileEvidence, pass_criteria: PassCriteriaEvidence, runtime_snapshot: RuntimeSessionSnapshot, ) -> Self
pub fn engine_version(self, engine_version: impl Into<String>) -> Self
pub fn started_at(self, started_at: DateTime<Utc>) -> Self
pub fn ended_at(self, ended_at: DateTime<Utc>) -> Self
pub fn feature_flags(self, feature_flags: Vec<String>) -> Self
pub fn add_feature_flag(self, feature_flag: impl Into<String>) -> Self
pub fn add_failure_replay_artifact( self, artifact: FailureReplayArtifact, ) -> Self
pub fn metrics(self, metrics: RunEvidenceMetrics) -> Self
pub fn public_private_boundary(self, boundary: PublicPrivateBoundary) -> Self
pub fn build(self) -> RunEvidence
Trait Implementations§
Source§impl Clone for RunEvidenceBuilder
impl Clone for RunEvidenceBuilder
Source§fn clone(&self) -> RunEvidenceBuilder
fn clone(&self) -> RunEvidenceBuilder
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 moreAuto Trait Implementations§
impl Freeze for RunEvidenceBuilder
impl RefUnwindSafe for RunEvidenceBuilder
impl Send for RunEvidenceBuilder
impl Sync for RunEvidenceBuilder
impl Unpin for RunEvidenceBuilder
impl UnsafeUnpin for RunEvidenceBuilder
impl UnwindSafe for RunEvidenceBuilder
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