pub struct BoundaryRepairRecord {
pub schema_version: String,
pub repair_record_id: BoundaryRepairRecordId,
pub artifact_kind: BoundaryArtifactKind,
pub artifact_schema_version: String,
pub repair_kind: String,
pub field_path: String,
pub original_value: Option<Value>,
pub repaired_value: Value,
pub rationale: String,
}Expand description
Record of a single field-level repair applied to a boundary artifact.
Fields§
§schema_version: String§repair_record_id: BoundaryRepairRecordId§artifact_kind: BoundaryArtifactKind§artifact_schema_version: String§repair_kind: String§field_path: String§original_value: Option<Value>§repaired_value: Value§rationale: StringImplementations§
Source§impl BoundaryRepairRecord
impl BoundaryRepairRecord
Sourcepub fn new(
artifact_kind: BoundaryArtifactKind,
artifact_schema_version: impl Into<String>,
repair_kind: impl Into<String>,
field_path: impl Into<String>,
original_value: Option<Value>,
repaired_value: Value,
rationale: impl Into<String>,
) -> Self
pub fn new( artifact_kind: BoundaryArtifactKind, artifact_schema_version: impl Into<String>, repair_kind: impl Into<String>, field_path: impl Into<String>, original_value: Option<Value>, repaired_value: Value, rationale: impl Into<String>, ) -> Self
Creates a boundary-repair record for one repaired artifact field.
Trait Implementations§
Source§impl Clone for BoundaryRepairRecord
impl Clone for BoundaryRepairRecord
Source§fn clone(&self) -> BoundaryRepairRecord
fn clone(&self) -> BoundaryRepairRecord
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 BoundaryRepairRecord
impl Debug for BoundaryRepairRecord
Source§impl<'de> Deserialize<'de> for BoundaryRepairRecord
impl<'de> Deserialize<'de> for BoundaryRepairRecord
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 BoundaryRepairRecord
Source§impl JsonSchema for BoundaryRepairRecord
impl JsonSchema for BoundaryRepairRecord
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 BoundaryRepairRecord
impl PartialEq for BoundaryRepairRecord
Source§fn eq(&self, other: &BoundaryRepairRecord) -> bool
fn eq(&self, other: &BoundaryRepairRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BoundaryRepairRecord
impl Serialize for BoundaryRepairRecord
impl StructuralPartialEq for BoundaryRepairRecord
Auto Trait Implementations§
impl Freeze for BoundaryRepairRecord
impl RefUnwindSafe for BoundaryRepairRecord
impl Send for BoundaryRepairRecord
impl Sync for BoundaryRepairRecord
impl Unpin for BoundaryRepairRecord
impl UnsafeUnpin for BoundaryRepairRecord
impl UnwindSafe for BoundaryRepairRecord
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