pub struct DbElement {
pub id: DbId,
pub from: Option<DbId>,
pub to: Option<DbId>,
pub values: Vec<DbKeyValue>,
}
Expand description
Database element used in [QueryResult
]
that represents a node or an edge.
Fields§
§id: DbId
Element id.
from: Option<DbId>
Origin node id.
to: Option<DbId>
Destination node id.
values: Vec<DbKeyValue>
List of key-value pairs associated with the element.
Trait Implementations§
Source§impl Ord for DbElement
impl Ord for DbElement
Source§impl PartialOrd for DbElement
impl PartialOrd for DbElement
impl Eq for DbElement
impl StructuralPartialEq for DbElement
Auto Trait Implementations§
impl Freeze for DbElement
impl RefUnwindSafe for DbElement
impl Send for DbElement
impl Sync for DbElement
impl Unpin for DbElement
impl UnwindSafe for DbElement
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