pub struct Edge {
pub id: String,
pub from_node: String,
pub to_node: String,
pub label: String,
pub properties: BTreeMap<String, PropertyValue>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}
Expand description
Edge (Relationship) in the graph
Fields§
§id: String
Unique edge ID
from_node: String
Source node ID
to_node: String
Target node ID
label: String
Edge label
properties: BTreeMap<String, PropertyValue>
Edge properties
created_at: DateTime<Utc>
Creation timestamp
updated_at: DateTime<Utc>
Last update timestamp
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Edge
impl<'de> Deserialize<'de> for Edge
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
Auto Trait Implementations§
impl Freeze for Edge
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnwindSafe for Edge
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