pub struct KgEdge {
pub from: String,
pub to: String,
pub relation: KgRelation,
pub property: Option<String>,
}Expand description
An edge in the Knowledge Graph.
Fields§
§from: String§to: String§relation: KgRelation§property: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for KgEdge
impl RefUnwindSafe for KgEdge
impl Send for KgEdge
impl Sync for KgEdge
impl Unpin for KgEdge
impl UnwindSafe for KgEdge
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