pub struct UpdateRuntimeEmbeddingSettings {
pub base_url: String,
pub model: String,
pub dimensions: usize,
pub timeout_secs: u64,
pub api_key: Option<String>,
}Fields§
§base_url: String§model: String§dimensions: usize§timeout_secs: u64§api_key: Option<String>Trait Implementations§
Source§impl Clone for UpdateRuntimeEmbeddingSettings
impl Clone for UpdateRuntimeEmbeddingSettings
Source§fn clone(&self) -> UpdateRuntimeEmbeddingSettings
fn clone(&self) -> UpdateRuntimeEmbeddingSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for UpdateRuntimeEmbeddingSettings
impl ComposeSchema for UpdateRuntimeEmbeddingSettings
Source§impl<'de> Deserialize<'de> for UpdateRuntimeEmbeddingSettings
impl<'de> Deserialize<'de> for UpdateRuntimeEmbeddingSettings
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
Auto Trait Implementations§
impl Freeze for UpdateRuntimeEmbeddingSettings
impl RefUnwindSafe for UpdateRuntimeEmbeddingSettings
impl Send for UpdateRuntimeEmbeddingSettings
impl Sync for UpdateRuntimeEmbeddingSettings
impl Unpin for UpdateRuntimeEmbeddingSettings
impl UnsafeUnpin for UpdateRuntimeEmbeddingSettings
impl UnwindSafe for UpdateRuntimeEmbeddingSettings
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