pub struct NormalizedClaim {
pub subject: String,
pub relation: String,
pub object: String,
pub modality: Option<String>,
pub temporal_scope: Option<String>,
}Expand description
Normalized claim fields used to make semantic overlap reviewable.
Fields§
§subject: StringSubject identifier or normalized label.
relation: StringRelation or predicate name.
object: StringObject identifier or normalized label.
modality: Option<String>Optional modality such as observed, inferred, required, or forbidden.
temporal_scope: Option<String>Optional normalized time or validity interval.
Trait Implementations§
Source§impl Clone for NormalizedClaim
impl Clone for NormalizedClaim
Source§fn clone(&self) -> NormalizedClaim
fn clone(&self) -> NormalizedClaim
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 NormalizedClaim
impl Debug for NormalizedClaim
Source§impl<'de> Deserialize<'de> for NormalizedClaim
impl<'de> Deserialize<'de> for NormalizedClaim
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 Hash for NormalizedClaim
impl Hash for NormalizedClaim
Source§impl Ord for NormalizedClaim
impl Ord for NormalizedClaim
Source§fn cmp(&self, other: &NormalizedClaim) -> Ordering
fn cmp(&self, other: &NormalizedClaim) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NormalizedClaim
impl PartialEq for NormalizedClaim
Source§fn eq(&self, other: &NormalizedClaim) -> bool
fn eq(&self, other: &NormalizedClaim) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for NormalizedClaim
impl PartialOrd for NormalizedClaim
Source§impl Serialize for NormalizedClaim
impl Serialize for NormalizedClaim
impl Eq for NormalizedClaim
impl StructuralPartialEq for NormalizedClaim
Auto Trait Implementations§
impl Freeze for NormalizedClaim
impl RefUnwindSafe for NormalizedClaim
impl Send for NormalizedClaim
impl Sync for NormalizedClaim
impl Unpin for NormalizedClaim
impl UnsafeUnpin for NormalizedClaim
impl UnwindSafe for NormalizedClaim
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