pub struct EmbeddedItem {
pub id: String,
pub vector: Vec<f32>,
}Expand description
An embedded item — ID + vector pair.
Generic container used by both kanban (items) and codegraph (nodes).
Fields§
§id: String§vector: Vec<f32>Trait Implementations§
Source§impl Clone for EmbeddedItem
impl Clone for EmbeddedItem
Source§fn clone(&self) -> EmbeddedItem
fn clone(&self) -> EmbeddedItem
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 moreAuto Trait Implementations§
impl Freeze for EmbeddedItem
impl RefUnwindSafe for EmbeddedItem
impl Send for EmbeddedItem
impl Sync for EmbeddedItem
impl Unpin for EmbeddedItem
impl UnsafeUnpin for EmbeddedItem
impl UnwindSafe for EmbeddedItem
Blanket Implementations§
impl<T> Allocation for T
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