pub struct StateEdge {
pub from: String,
pub to: String,
pub relationship_type: String,
pub properties: HashMap<String, Value>,
pub created_at: DateTime<Utc>,
}Expand description
An edge (relationship) between two nodes
Represents relationships between state entities, such as persona relationships, entity ownership, or protocol connections.
Fields§
§from: StringSource node ID
to: StringTarget node ID
relationship_type: StringType of relationship
properties: HashMap<String, Value>Additional edge properties
created_at: DateTime<Utc>Timestamp when this edge was created
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StateEdge
impl<'de> Deserialize<'de> for StateEdge
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 StateEdge
impl StructuralPartialEq for StateEdge
Auto Trait Implementations§
impl Freeze for StateEdge
impl RefUnwindSafe for StateEdge
impl Send for StateEdge
impl Sync for StateEdge
impl Unpin for StateEdge
impl UnwindSafe for StateEdge
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.