pub struct EntityAux {
pub embeddings: Vec<EmbeddingSlot>,
pub cross_refs: Vec<CrossRef>,
pub branch: Option<BranchVersion>,
}Expand description
Auxiliary entity data — only allocated when needed.
Fields§
§embeddings: Vec<EmbeddingSlot>Embedding slots (for multi-vector support)
cross_refs: Vec<CrossRef>Cross-references to other entities
branch: Option<BranchVersion>VCS provenance is allocated only for opted-in entities. Epochs are immutable branch incarnations; recreating a branch uses a new epoch.
Trait Implementations§
Auto Trait Implementations§
impl Forget for EntityAux
impl Freeze for EntityAuxwhere
*const u8 is !null: Freeze,
PhantomData<EmbeddingSlot>: Freeze,
PhantomData<CrossRef>: Freeze,
PhantomData<(u64, u64)>: Freeze,
impl Move for EntityAux
impl RefUnwindSafe for EntityAux
impl Send for EntityAuxwhere
RawVecInner: Send,
impl Sync for EntityAuxwhere
RawVecInner: Sync,
impl Unpin for EntityAux
impl UnsafeUnpin for EntityAuxwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<EmbeddingSlot>: UnsafeUnpin,
PhantomData<CrossRef>: UnsafeUnpin,
PhantomData<(u64, u64)>: UnsafeUnpin,
impl UnwindSafe for EntityAuxwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more