pub struct SemanticStateV1 {Show 17 fields
pub state_id: ArtifactId,
pub artifact_ref: ArtifactId,
pub provenance_carrier: String,
pub truth_carrier: String,
pub bitemporal_carrier: String,
pub identity_carrier: String,
pub execution_carrier: String,
pub view_carrier: String,
pub exactness: SemanticExactnessV1,
pub proof_carrier: String,
pub nuisance_or_degradation_carrier: String,
pub governance_carrier: String,
pub degradation_record_ids: Vec<ArtifactId>,
pub view_disclosure_ids: Vec<ArtifactId>,
pub contradiction_record_ids: Vec<ArtifactId>,
pub execution_contamination_ids: Vec<ArtifactId>,
pub reason_codes: Vec<String>,
}Fields§
§state_id: ArtifactId§artifact_ref: ArtifactId§provenance_carrier: String§truth_carrier: String§bitemporal_carrier: String§identity_carrier: String§execution_carrier: String§view_carrier: String§exactness: SemanticExactnessV1§proof_carrier: String§nuisance_or_degradation_carrier: String§governance_carrier: String§degradation_record_ids: Vec<ArtifactId>§view_disclosure_ids: Vec<ArtifactId>§contradiction_record_ids: Vec<ArtifactId>§execution_contamination_ids: Vec<ArtifactId>§reason_codes: Vec<String>Implementations§
Source§impl SemanticStateV1
impl SemanticStateV1
pub fn exact_supported( artifact_ref: ArtifactId, proof_carrier: impl Into<String>, ) -> Self
pub fn with_degradation(self, degradation: &LocalDegradationRecordV1) -> Self
pub fn with_view_disclosure(self, disclosure: &ViewDisclosureV1) -> Self
pub fn with_contradiction( self, contradiction: &SemanticContradictionRecordV1, ) -> Self
pub fn with_execution_contamination( self, contamination: &ExecutionContaminationRecordV1, ) -> Self
pub fn can_answer_as_exact(&self) -> bool
pub fn blocks_promotion(&self) -> bool
Trait Implementations§
Source§impl Clone for SemanticStateV1
impl Clone for SemanticStateV1
Source§fn clone(&self) -> SemanticStateV1
fn clone(&self) -> SemanticStateV1
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 SemanticStateV1
impl Debug for SemanticStateV1
Source§impl<'de> Deserialize<'de> for SemanticStateV1
impl<'de> Deserialize<'de> for SemanticStateV1
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 SemanticStateV1
Source§impl JsonSchema for SemanticStateV1
impl JsonSchema for SemanticStateV1
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 SemanticStateV1
impl PartialEq for SemanticStateV1
Source§fn eq(&self, other: &SemanticStateV1) -> bool
fn eq(&self, other: &SemanticStateV1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SemanticStateV1
impl Serialize for SemanticStateV1
impl StructuralPartialEq for SemanticStateV1
Auto Trait Implementations§
impl Freeze for SemanticStateV1
impl RefUnwindSafe for SemanticStateV1
impl Send for SemanticStateV1
impl Sync for SemanticStateV1
impl Unpin for SemanticStateV1
impl UnsafeUnpin for SemanticStateV1
impl UnwindSafe for SemanticStateV1
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