pub struct MemoryRelationshipView {
pub source_node_id: String,
pub target_node_id: String,
pub relationship_type: String,
pub why: Option<String>,
pub evidence: Option<String>,
}Expand description
One relationship between recalled nodes.
Fields§
§source_node_id: String§target_node_id: String§relationship_type: String§why: Option<String>The stated reason for the link, when its recorder gave one. A consumer surfacing a conflict quotes this instead of inventing a rationale.
evidence: Option<String>The evidence the link cites, when its recorder cited any.
Trait Implementations§
Source§impl Clone for MemoryRelationshipView
impl Clone for MemoryRelationshipView
Source§fn clone(&self) -> MemoryRelationshipView
fn clone(&self) -> MemoryRelationshipView
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 MemoryRelationshipView
impl Debug for MemoryRelationshipView
Source§impl<'de> Deserialize<'de> for MemoryRelationshipView
impl<'de> Deserialize<'de> for MemoryRelationshipView
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
impl Eq for MemoryRelationshipView
Source§impl PartialEq for MemoryRelationshipView
impl PartialEq for MemoryRelationshipView
Source§impl Serialize for MemoryRelationshipView
impl Serialize for MemoryRelationshipView
impl StructuralPartialEq for MemoryRelationshipView
Auto Trait Implementations§
impl Freeze for MemoryRelationshipView
impl RefUnwindSafe for MemoryRelationshipView
impl Send for MemoryRelationshipView
impl Sync for MemoryRelationshipView
impl Unpin for MemoryRelationshipView
impl UnsafeUnpin for MemoryRelationshipView
impl UnwindSafe for MemoryRelationshipView
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