pub struct RelationEdge {
pub from_id: String,
pub to_id: String,
pub relation: Relation,
pub confidence: f32,
pub reason: String,
pub judged_by: String,
pub lamport: u64,
pub event_id: String,
}Expand description
A projected relation edge (directed, from → to). Reconstructed from the log.
Fields§
§from_id: String§to_id: String§relation: Relation§confidence: f32§reason: String§judged_by: String§lamport: u64§event_id: StringTrait Implementations§
Source§impl Clone for RelationEdge
impl Clone for RelationEdge
Source§fn clone(&self) -> RelationEdge
fn clone(&self) -> RelationEdge
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 RelationEdge
impl Debug for RelationEdge
Source§impl PartialEq for RelationEdge
impl PartialEq for RelationEdge
impl StructuralPartialEq for RelationEdge
Auto Trait Implementations§
impl Freeze for RelationEdge
impl RefUnwindSafe for RelationEdge
impl Send for RelationEdge
impl Sync for RelationEdge
impl Unpin for RelationEdge
impl UnsafeUnpin for RelationEdge
impl UnwindSafe for RelationEdge
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