pub struct HarnessChangeContract {Show 14 fields
pub change_contract_id: String,
pub component_modified: HarnessChangeContractComponentModified,
pub failure_mode_targeted: String,
pub predicted_improvement: String,
pub invariants_preserved: Vec<String>,
pub safety_properties: Vec<String>,
pub regression_suite_refs: Vec<String>,
pub simulation_evidence_refs: Option<Vec<String>>,
pub canary_scope: Option<HashMap<String, Value>>,
pub rollback_plan: HashMap<String, Value>,
pub approval_required: bool,
pub activation_receipt_ref: Option<String>,
pub created_at: String,
pub contract_hash: Option<String>,
}Fields§
§change_contract_id: String§component_modified: HarnessChangeContractComponentModified§failure_mode_targeted: String§predicted_improvement: String§invariants_preserved: Vec<String>§safety_properties: Vec<String>§regression_suite_refs: Vec<String>§simulation_evidence_refs: Option<Vec<String>>§canary_scope: Option<HashMap<String, Value>>§rollback_plan: HashMap<String, Value>§approval_required: bool§activation_receipt_ref: Option<String>§created_at: String§contract_hash: Option<String>Implementations§
Source§impl HarnessChangeContract
impl HarnessChangeContract
pub fn new( change_contract_id: String, component_modified: HarnessChangeContractComponentModified, failure_mode_targeted: String, predicted_improvement: String, invariants_preserved: Vec<String>, safety_properties: Vec<String>, regression_suite_refs: Vec<String>, rollback_plan: HashMap<String, Value>, approval_required: bool, created_at: String, ) -> HarnessChangeContract
Trait Implementations§
Source§impl Clone for HarnessChangeContract
impl Clone for HarnessChangeContract
Source§fn clone(&self) -> HarnessChangeContract
fn clone(&self) -> HarnessChangeContract
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 HarnessChangeContract
impl Debug for HarnessChangeContract
Source§impl Default for HarnessChangeContract
impl Default for HarnessChangeContract
Source§fn default() -> HarnessChangeContract
fn default() -> HarnessChangeContract
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HarnessChangeContract
impl<'de> Deserialize<'de> for HarnessChangeContract
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
Source§impl PartialEq for HarnessChangeContract
impl PartialEq for HarnessChangeContract
Source§fn eq(&self, other: &HarnessChangeContract) -> bool
fn eq(&self, other: &HarnessChangeContract) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HarnessChangeContract
impl Serialize for HarnessChangeContract
impl StructuralPartialEq for HarnessChangeContract
Auto Trait Implementations§
impl Freeze for HarnessChangeContract
impl RefUnwindSafe for HarnessChangeContract
impl Send for HarnessChangeContract
impl Sync for HarnessChangeContract
impl Unpin for HarnessChangeContract
impl UnsafeUnpin for HarnessChangeContract
impl UnwindSafe for HarnessChangeContract
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