pub struct SparseEmbeddingKey {
pub name_hash: u64,
pub entity_id: EntityId,
}Expand description
A decoded sparse embedding key.
Fields§
§name_hash: u64The hash of the embedding space name.
entity_id: EntityIdThe entity ID.
Trait Implementations§
Source§impl Clone for SparseEmbeddingKey
impl Clone for SparseEmbeddingKey
Source§fn clone(&self) -> SparseEmbeddingKey
fn clone(&self) -> SparseEmbeddingKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SparseEmbeddingKey
impl Debug for SparseEmbeddingKey
Source§impl PartialEq for SparseEmbeddingKey
impl PartialEq for SparseEmbeddingKey
impl Copy for SparseEmbeddingKey
impl Eq for SparseEmbeddingKey
impl StructuralPartialEq for SparseEmbeddingKey
Auto Trait Implementations§
impl Freeze for SparseEmbeddingKey
impl RefUnwindSafe for SparseEmbeddingKey
impl Send for SparseEmbeddingKey
impl Sync for SparseEmbeddingKey
impl Unpin for SparseEmbeddingKey
impl UnwindSafe for SparseEmbeddingKey
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