pub struct StoredEdge {
pub edge_type: EdgeType,
pub weight: f32,
pub created_at: Timestamp,
}Expand description
Compact edge data stored in CSR/CSC arrays.
Fields§
§edge_type: EdgeType§weight: f32§created_at: TimestampImplementations§
Source§impl StoredEdge
impl StoredEdge
pub fn from_memory_edge(edge: &MemoryEdge) -> Self
Trait Implementations§
Source§impl Clone for StoredEdge
impl Clone for StoredEdge
Source§fn clone(&self) -> StoredEdge
fn clone(&self) -> StoredEdge
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 StoredEdge
impl Debug for StoredEdge
Source§impl<'de> Deserialize<'de> for StoredEdge
impl<'de> Deserialize<'de> for StoredEdge
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
Source§impl PartialEq for StoredEdge
impl PartialEq for StoredEdge
Source§impl Serialize for StoredEdge
impl Serialize for StoredEdge
impl Copy for StoredEdge
impl StructuralPartialEq for StoredEdge
Auto Trait Implementations§
impl Freeze for StoredEdge
impl RefUnwindSafe for StoredEdge
impl Send for StoredEdge
impl Sync for StoredEdge
impl Unpin for StoredEdge
impl UnsafeUnpin for StoredEdge
impl UnwindSafe for StoredEdge
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