pub struct GraphNodeDto {
pub id: String,
pub kind: &'static str,
pub label: String,
pub type_qname: String,
}Expand description
One graph node. kind: entity | statement | memory.
Fields§
§id: StringEntity/statement UUID or memory decimal id, per kind.
kind: &'static str§label: String§type_qname: StringEntity type qname (e.g. brain:Person); empty for non-entity nodes.
Trait Implementations§
Source§impl Debug for GraphNodeDto
impl Debug for GraphNodeDto
Source§impl From<GraphNode> for GraphNodeDto
impl From<GraphNode> for GraphNodeDto
Auto Trait Implementations§
impl Freeze for GraphNodeDto
impl RefUnwindSafe for GraphNodeDto
impl Send for GraphNodeDto
impl Sync for GraphNodeDto
impl Unpin for GraphNodeDto
impl UnsafeUnpin for GraphNodeDto
impl UnwindSafe for GraphNodeDto
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