pub struct SnapshotEdge {
pub source_id: Uuid,
pub target_id: Uuid,
pub edge_type: String,
pub weight: f32,
pub metadata: Option<Value>,
}Expand description
One directed edge in a snapshot (maps to ainl_graph_edges rows).
Fields§
§source_id: Uuid§target_id: Uuid§edge_type: String§weight: f32§metadata: Option<Value>Trait Implementations§
Source§impl Clone for SnapshotEdge
impl Clone for SnapshotEdge
Source§fn clone(&self) -> SnapshotEdge
fn clone(&self) -> SnapshotEdge
Returns a duplicate of the value. Read more
1.0.0 · 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 SnapshotEdge
impl Debug for SnapshotEdge
Source§impl<'de> Deserialize<'de> for SnapshotEdge
impl<'de> Deserialize<'de> for SnapshotEdge
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 SnapshotEdge
impl RefUnwindSafe for SnapshotEdge
impl Send for SnapshotEdge
impl Sync for SnapshotEdge
impl Unpin for SnapshotEdge
impl UnsafeUnpin for SnapshotEdge
impl UnwindSafe for SnapshotEdge
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