pub struct GraphEdge {
pub id: i64,
pub session_id: String,
pub source_id: i64,
pub target_id: i64,
pub edge_type: EdgeType,
pub predicate: Option<String>,
pub properties: Option<Value>,
pub weight: f32,
pub temporal_start: Option<DateTime<Utc>>,
pub temporal_end: Option<DateTime<Utc>>,
pub created_at: DateTime<Utc>,
}Fields§
§id: i64§session_id: String§source_id: i64§target_id: i64§edge_type: EdgeType§predicate: Option<String>§properties: Option<Value>§weight: f32§temporal_start: Option<DateTime<Utc>>§temporal_end: Option<DateTime<Utc>>§created_at: DateTime<Utc>Trait Implementations§
Source§impl<'de> Deserialize<'de> for GraphEdge
impl<'de> Deserialize<'de> for GraphEdge
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 GraphEdge
impl RefUnwindSafe for GraphEdge
impl Send for GraphEdge
impl Sync for GraphEdge
impl Unpin for GraphEdge
impl UnwindSafe for GraphEdge
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