pub struct EdgeValue {
pub source: Id,
pub sort_key: Vec<u8>,
pub dest: Id,
}Expand description
Represents a validated edge ready to be inserted into the database.
Fields§
§source: IdThe source entity ID
sort_key: Vec<u8>The edge type (as bytes, can be binary)
dest: IdThe destination entity ID
Implementations§
Trait Implementations§
impl Eq for EdgeValue
impl StructuralPartialEq for EdgeValue
Auto Trait Implementations§
impl Freeze for EdgeValue
impl RefUnwindSafe for EdgeValue
impl Send for EdgeValue
impl Sync for EdgeValue
impl Unpin for EdgeValue
impl UnwindSafe for EdgeValue
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