pub enum CreateEmbeddingRequestEncodingFormat {
Float,
Base64,
}
Expand description
The format to return the embeddings in. Can be either float
or base64
.
Variants§
Trait Implementations§
Source§impl Clone for CreateEmbeddingRequestEncodingFormat
impl Clone for CreateEmbeddingRequestEncodingFormat
Source§fn clone(&self) -> CreateEmbeddingRequestEncodingFormat
fn clone(&self) -> CreateEmbeddingRequestEncodingFormat
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 Default for CreateEmbeddingRequestEncodingFormat
impl Default for CreateEmbeddingRequestEncodingFormat
Source§fn default() -> CreateEmbeddingRequestEncodingFormat
fn default() -> CreateEmbeddingRequestEncodingFormat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateEmbeddingRequestEncodingFormat
impl<'de> Deserialize<'de> for CreateEmbeddingRequestEncodingFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CreateEmbeddingRequestEncodingFormat
impl PartialEq for CreateEmbeddingRequestEncodingFormat
Source§fn eq(&self, other: &CreateEmbeddingRequestEncodingFormat) -> bool
fn eq(&self, other: &CreateEmbeddingRequestEncodingFormat) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for CreateEmbeddingRequestEncodingFormat
impl StructuralPartialEq for CreateEmbeddingRequestEncodingFormat
Auto Trait Implementations§
impl Freeze for CreateEmbeddingRequestEncodingFormat
impl RefUnwindSafe for CreateEmbeddingRequestEncodingFormat
impl Send for CreateEmbeddingRequestEncodingFormat
impl Sync for CreateEmbeddingRequestEncodingFormat
impl Unpin for CreateEmbeddingRequestEncodingFormat
impl UnwindSafe for CreateEmbeddingRequestEncodingFormat
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