pub struct EnhancedRelationship {
pub from: String,
pub to: String,
pub relation_type: RelationType,
pub confidence: f32,
}Expand description
A semantic relationship between entities
Fields§
§from: StringSource entity
to: StringTarget entity
relation_type: RelationTypeRelationship type
confidence: f32Confidence score
Trait Implementations§
Source§impl Clone for EnhancedRelationship
impl Clone for EnhancedRelationship
Source§fn clone(&self) -> EnhancedRelationship
fn clone(&self) -> EnhancedRelationship
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for EnhancedRelationship
impl RefUnwindSafe for EnhancedRelationship
impl Send for EnhancedRelationship
impl Sync for EnhancedRelationship
impl Unpin for EnhancedRelationship
impl UnsafeUnpin for EnhancedRelationship
impl UnwindSafe for EnhancedRelationship
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