pub struct VerificationAttempt {
pub schema_version: String,
pub case_id: VerificationCaseId,
pub plan_id: CheckPlanId,
pub attempt_id: AttemptId,
pub trial_id: Option<TrialId>,
pub state: VerificationAttemptState,
pub advisory_only: bool,
pub degraded: bool,
pub started_at: String,
pub finished_at: String,
pub outcome_signature: Option<String>,
}Expand description
A single execution attempt within a verification case and plan.
Fields§
§schema_version: String§case_id: VerificationCaseId§plan_id: CheckPlanId§attempt_id: AttemptId§trial_id: Option<TrialId>§state: VerificationAttemptState§advisory_only: bool§degraded: bool§started_at: String§finished_at: String§outcome_signature: Option<String>Implementations§
Source§impl VerificationAttempt
impl VerificationAttempt
Sourcepub fn completed(
case_id: VerificationCaseId,
plan_id: CheckPlanId,
attempt_id: AttemptId,
trial_id: Option<TrialId>,
state: VerificationAttemptState,
advisory_only: bool,
degraded: bool,
started_at: impl Into<String>,
finished_at: impl Into<String>,
outcome_signature: Option<String>,
) -> Self
pub fn completed( case_id: VerificationCaseId, plan_id: CheckPlanId, attempt_id: AttemptId, trial_id: Option<TrialId>, state: VerificationAttemptState, advisory_only: bool, degraded: bool, started_at: impl Into<String>, finished_at: impl Into<String>, outcome_signature: Option<String>, ) -> Self
Records a completed verification attempt and its terminal execution metadata.
Trait Implementations§
Source§impl Clone for VerificationAttempt
impl Clone for VerificationAttempt
Source§fn clone(&self) -> VerificationAttempt
fn clone(&self) -> VerificationAttempt
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 VerificationAttempt
impl Debug for VerificationAttempt
Source§impl<'de> Deserialize<'de> for VerificationAttempt
impl<'de> Deserialize<'de> for VerificationAttempt
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for VerificationAttempt
Source§impl JsonSchema for VerificationAttempt
impl JsonSchema for VerificationAttempt
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for VerificationAttempt
impl PartialEq for VerificationAttempt
Source§fn eq(&self, other: &VerificationAttempt) -> bool
fn eq(&self, other: &VerificationAttempt) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for VerificationAttempt
impl Serialize for VerificationAttempt
impl StructuralPartialEq for VerificationAttempt
Auto Trait Implementations§
impl Freeze for VerificationAttempt
impl RefUnwindSafe for VerificationAttempt
impl Send for VerificationAttempt
impl Sync for VerificationAttempt
impl Unpin for VerificationAttempt
impl UnsafeUnpin for VerificationAttempt
impl UnwindSafe for VerificationAttempt
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