pub struct NodeData {
pub embedding: Embedding,
pub max_layer: usize,
}Expand description
Node data stored in the database (without connections).
Fields§
§embedding: EmbeddingThe embedding vector.
max_layer: usizeThe maximum layer this node appears in.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeData
impl RefUnwindSafe for NodeData
impl Send for NodeData
impl Sync for NodeData
impl Unpin for NodeData
impl UnwindSafe for NodeData
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