pub struct PreparedEmbedding<T> {
pub body: T,
pub response: EmbeddingResponseContext,
}Expand description
A converted Gemini request and the OpenAI response facts captured before
consuming its source request. Keep response until the upstream completes;
this preserves the requested encoding, model identities and expected shape.
Fields§
§body: T§response: EmbeddingResponseContextTrait Implementations§
Source§impl<T: Clone> Clone for PreparedEmbedding<T>
impl<T: Clone> Clone for PreparedEmbedding<T>
Source§impl<T: Debug> Debug for PreparedEmbedding<T>
impl<T: Debug> Debug for PreparedEmbedding<T>
Source§impl<T: PartialEq> PartialEq for PreparedEmbedding<T>
impl<T: PartialEq> PartialEq for PreparedEmbedding<T>
impl<T: PartialEq> StructuralPartialEq for PreparedEmbedding<T>
Auto Trait Implementations§
impl<T> Freeze for PreparedEmbedding<T>where
T: Freeze,
impl<T> RefUnwindSafe for PreparedEmbedding<T>where
T: RefUnwindSafe,
impl<T> Send for PreparedEmbedding<T>where
T: Send,
impl<T> Sync for PreparedEmbedding<T>where
T: Sync,
impl<T> Unpin for PreparedEmbedding<T>where
T: Unpin,
impl<T> UnsafeUnpin for PreparedEmbedding<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for PreparedEmbedding<T>where
T: 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