#[non_exhaustive]pub struct PendingEmbedding {
pub ref_kind: EmbedRef,
pub ref_id: i64,
pub text: String,
}Expand description
An entry or value with no embedding for a model, and the text to embed.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ref_kind: EmbedRefEntry or value.
ref_id: i64Its id.
text: StringThe text: <label>. <description> for an entry (the description alone when the label
is empty), the label for a value (the value when the label is empty).
Trait Implementations§
Source§impl Clone for PendingEmbedding
impl Clone for PendingEmbedding
Source§impl Debug for PendingEmbedding
impl Debug for PendingEmbedding
impl Eq for PendingEmbedding
Source§impl PartialEq for PendingEmbedding
impl PartialEq for PendingEmbedding
impl StructuralPartialEq for PendingEmbedding
Auto Trait Implementations§
impl Forget for PendingEmbedding
impl Freeze for PendingEmbedding
impl Move for PendingEmbedding
impl RefUnwindSafe for PendingEmbedding
impl Send for PendingEmbedding
impl Sync for PendingEmbedding
impl Unpin for PendingEmbedding
impl UnsafeUnpin for PendingEmbedding
impl UnwindSafe for PendingEmbedding
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