pub struct EncodeGraphEdge {
pub source: [u8; 16],
pub target: [u8; 16],
pub predicate: String,
pub kind: String,
pub confidence: f32,
pub event_at_unix_nanos: Option<u64>,
}Expand description
A directed edge in the knowledge graph an ENCODE produced.
Fields§
§source: [u8; 16]§target: [u8; 16]§predicate: String§kind: String§confidence: f32§event_at_unix_nanos: Option<u64>When the EVENT this edge records happened, in unix nanos — denormalised from the backing statement. Absent from the wire map for an undated statement and for every non-statement edge kind.
Trait Implementations§
Source§impl Clone for EncodeGraphEdge
impl Clone for EncodeGraphEdge
Source§impl Debug for EncodeGraphEdge
impl Debug for EncodeGraphEdge
Source§impl<'de> Deserialize<'de> for EncodeGraphEdge
impl<'de> Deserialize<'de> for EncodeGraphEdge
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 PartialEq for EncodeGraphEdge
impl PartialEq for EncodeGraphEdge
Source§impl Serialize for EncodeGraphEdge
impl Serialize for EncodeGraphEdge
impl StructuralPartialEq for EncodeGraphEdge
Auto Trait Implementations§
impl Freeze for EncodeGraphEdge
impl RefUnwindSafe for EncodeGraphEdge
impl Send for EncodeGraphEdge
impl Sync for EncodeGraphEdge
impl Unpin for EncodeGraphEdge
impl UnsafeUnpin for EncodeGraphEdge
impl UnwindSafe for EncodeGraphEdge
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