Struct fastembed::InitOptions
source · pub struct InitOptions {
pub model_name: EmbeddingModel,
pub execution_providers: Vec<ExecutionProvider>,
pub max_length: usize,
pub cache_dir: PathBuf,
pub show_download_message: bool,
}Fields§
§model_name: EmbeddingModel§execution_providers: Vec<ExecutionProvider>§max_length: usize§cache_dir: PathBuf§show_download_message: boolTrait Implementations§
source§impl Clone for InitOptions
impl Clone for InitOptions
source§fn clone(&self) -> InitOptions
fn clone(&self) -> InitOptions
Returns a copy 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 Debug for InitOptions
impl Debug for InitOptions
Auto Trait Implementations§
impl RefUnwindSafe for InitOptions
impl !Send for InitOptions
impl !Sync for InitOptions
impl Unpin for InitOptions
impl UnwindSafe for InitOptions
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