pub struct EmbeddingId {
pub txid: Txid,
pub embedding_type: EmbeddingType,
pub index: usize,
pub sub_index: Option<usize>,
/* private fields */
}Expand description
A unique identifier for an embedding
Fields§
§txid: TxidThe transaction ID
embedding_type: EmbeddingTypeThe embedding type
index: usizeThe input or output index
sub_index: Option<usize>The sub-index (only for envelope embeddings)
Trait Implementations§
Source§impl Clone for EmbeddingId
impl Clone for EmbeddingId
Source§fn clone(&self) -> EmbeddingId
fn clone(&self) -> EmbeddingId
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 moreimpl Copy for EmbeddingId
Source§impl Debug for EmbeddingId
impl Debug for EmbeddingId
Source§impl Display for EmbeddingId
impl Display for EmbeddingId
impl Eq for EmbeddingId
Source§impl FromStr for EmbeddingId
impl FromStr for EmbeddingId
Source§impl Hash for EmbeddingId
impl Hash for EmbeddingId
Source§impl PartialEq for EmbeddingId
impl PartialEq for EmbeddingId
impl StructuralPartialEq for EmbeddingId
Auto Trait Implementations§
impl Freeze for EmbeddingId
impl RefUnwindSafe for EmbeddingId
impl Send for EmbeddingId
impl Sync for EmbeddingId
impl Unpin for EmbeddingId
impl UnsafeUnpin for EmbeddingId
impl UnwindSafe for EmbeddingId
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