pub struct EmbeddingKey {
pub name_hash: u64,
pub entity_id: EntityId,
}Expand description
A decoded embedding key.
Fields§
§name_hash: u64The hash of the embedding space name.
entity_id: EntityIdThe entity ID.
Trait Implementations§
Source§impl Clone for EmbeddingKey
impl Clone for EmbeddingKey
Source§fn clone(&self) -> EmbeddingKey
fn clone(&self) -> EmbeddingKey
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 EmbeddingKey
impl Debug for EmbeddingKey
Source§impl PartialEq for EmbeddingKey
impl PartialEq for EmbeddingKey
impl Copy for EmbeddingKey
impl Eq for EmbeddingKey
impl StructuralPartialEq for EmbeddingKey
Auto Trait Implementations§
impl Freeze for EmbeddingKey
impl RefUnwindSafe for EmbeddingKey
impl Send for EmbeddingKey
impl Sync for EmbeddingKey
impl Unpin for EmbeddingKey
impl UnwindSafe for EmbeddingKey
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