pub enum SemanticValueObservation {
Known {
value: String,
sensitivity: SemanticValueSensitivity,
evidence: EvidenceProvenance,
},
Absent {
reason: String,
evidence: EvidenceProvenance,
},
Unknown {
reason: String,
},
Unsupported {
capability: String,
reason: String,
},
Withheld {
reason: String,
sensitivity: SemanticValueSensitivity,
},
}Expand description
A semantic value with absence, support and confidentiality preserved.
Variants§
Known
The value is known for this committed revision.
Fields
§
sensitivity: SemanticValueSensitivityApplication-declared artifact sensitivity.
§
evidence: EvidenceProvenanceSource proving this value for the committed revision.
Absent
The node authoritatively has no value now.
Fields
§
evidence: EvidenceProvenanceAuthoritative source proving absence.
Unknown
A later paired revision may provide the value.
Unsupported
The frozen contract cannot provide semantic values.
Fields
Withheld
A value exists but its plaintext is deliberately not transported.
Fields
§
sensitivity: SemanticValueSensitivitySensitivity of the omitted value.
Trait Implementations§
Source§impl Clone for SemanticValueObservation
impl Clone for SemanticValueObservation
Source§fn clone(&self) -> SemanticValueObservation
fn clone(&self) -> SemanticValueObservation
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 SemanticValueObservation
impl Debug for SemanticValueObservation
Source§impl<'de> Deserialize<'de> for SemanticValueObservation
impl<'de> Deserialize<'de> for SemanticValueObservation
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 SemanticValueObservation
Source§impl PartialEq for SemanticValueObservation
impl PartialEq for SemanticValueObservation
Source§impl Serialize for SemanticValueObservation
impl Serialize for SemanticValueObservation
impl StructuralPartialEq for SemanticValueObservation
Auto Trait Implementations§
impl Freeze for SemanticValueObservation
impl RefUnwindSafe for SemanticValueObservation
impl Send for SemanticValueObservation
impl Sync for SemanticValueObservation
impl Unpin for SemanticValueObservation
impl UnsafeUnpin for SemanticValueObservation
impl UnwindSafe for SemanticValueObservation
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