pub struct Claim {
pub id: String,
pub session_id: String,
pub subject: EntityRef,
pub predicate: String,
pub object: Object,
pub polarity: Polarity,
pub category: Category,
pub modality: Modality,
pub dimensions: Vec<DimensionTag>,
pub source: EvidenceRef,
pub time_scope: Option<TimeScope>,
pub condition: Option<String>,
}Expand description
A hypothesis (spec §3). Never an asserted fact: standing is computed by folding the evidence/remediation log, never stored on the claim.
Fields§
§id: String§session_id: String§subject: EntityRef§predicate: StringPredicate token from a caller-controlled vocabulary (e.g. supports).
object: Object§polarity: Polarity§category: Category§modality: Modality§dimensions: Vec<DimensionTag>§source: EvidenceRef§time_scope: Option<TimeScope>§condition: Option<String>Optional qualifying condition added by the qualify move. Distinct from
time_scope: a condition is a generic guard (“under SSO”), a time_scope
is temporal. Either dissolves an intra-spec contradiction.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Claim
impl<'de> Deserialize<'de> for Claim
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 Claim
impl StructuralPartialEq for Claim
Auto Trait Implementations§
impl Freeze for Claim
impl RefUnwindSafe for Claim
impl Send for Claim
impl Sync for Claim
impl Unpin for Claim
impl UnsafeUnpin for Claim
impl UnwindSafe for Claim
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