pub struct ExtractedTriple {
pub predicate: String,
pub subject_surface: String,
pub object_surface: String,
}Expand description
A triple extracted from the brain, for comparison against golden annotations.
Fields§
§predicate: String§subject_surface: String§object_surface: StringTrait Implementations§
Source§impl Clone for ExtractedTriple
impl Clone for ExtractedTriple
Source§fn clone(&self) -> ExtractedTriple
fn clone(&self) -> ExtractedTriple
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 ExtractedTriple
impl Debug for ExtractedTriple
Source§impl<'de> Deserialize<'de> for ExtractedTriple
impl<'de> Deserialize<'de> for ExtractedTriple
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 ExtractedTriple
Source§impl PartialEq for ExtractedTriple
impl PartialEq for ExtractedTriple
Source§impl Serialize for ExtractedTriple
impl Serialize for ExtractedTriple
impl StructuralPartialEq for ExtractedTriple
Auto Trait Implementations§
impl Freeze for ExtractedTriple
impl RefUnwindSafe for ExtractedTriple
impl Send for ExtractedTriple
impl Sync for ExtractedTriple
impl Unpin for ExtractedTriple
impl UnsafeUnpin for ExtractedTriple
impl UnwindSafe for ExtractedTriple
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