Struct openai_api_rs::v1::embedding::EmbeddingRequest
source · pub struct EmbeddingRequest {
pub model: String,
pub input: String,
pub user: Option<String>,
}
Fields§
§model: String
§input: String
§user: Option<String>
Trait Implementations§
source§impl Debug for EmbeddingRequest
impl Debug for EmbeddingRequest
Auto Trait Implementations§
impl RefUnwindSafe for EmbeddingRequest
impl Send for EmbeddingRequest
impl Sync for EmbeddingRequest
impl Unpin for EmbeddingRequest
impl UnwindSafe for EmbeddingRequest
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