pub struct Relation {
pub source: String,
pub target: String,
pub relation_type: String,
pub description: String,
pub doc_id: Option<String>,
}Expand description
A directed relation between two entities.
Fields§
§source: String§target: String§relation_type: String§description: String§doc_id: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Relation
impl RefUnwindSafe for Relation
impl Send for Relation
impl Sync for Relation
impl Unpin for Relation
impl UnsafeUnpin for Relation
impl UnwindSafe for Relation
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