pub struct EdgeRecord {
pub src: NodeId,
pub dst: NodeId,
pub edge_type: TypeId,
pub props: Vec<u8>,
}Expand description
Stored in the edges LMDB sub-database as msgpack bytes.
Fields§
§src: NodeId§dst: NodeId§edge_type: TypeId§props: Vec<u8>Trait Implementations§
Source§impl Clone for EdgeRecord
impl Clone for EdgeRecord
Source§fn clone(&self) -> EdgeRecord
fn clone(&self) -> EdgeRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EdgeRecord
impl Debug for EdgeRecord
Source§impl DeepSizeOf for EdgeRecord
impl DeepSizeOf for EdgeRecord
Source§fn deep_size_of_children(&self, context: &mut Context) -> usize
fn deep_size_of_children(&self, context: &mut Context) -> usize
Returns an estimation of the heap-managed storage of this object.
This does not include the size of the object itself. Read more
Source§fn deep_size_of(&self) -> usize
fn deep_size_of(&self) -> usize
Returns an estimation of a total size of memory owned by the
object, including heap-managed storage. Read more
Source§impl<'de> Deserialize<'de> for EdgeRecord
impl<'de> Deserialize<'de> for EdgeRecord
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 EdgeRecord
impl RefUnwindSafe for EdgeRecord
impl Send for EdgeRecord
impl Sync for EdgeRecord
impl Unpin for EdgeRecord
impl UnsafeUnpin for EdgeRecord
impl UnwindSafe for EdgeRecord
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