pub struct UpdateSearchSettingsRequest {
pub mode: SearchMode,
pub rerank_enabled: bool,
pub rerank_base_url: String,
pub rerank_model: String,
pub candidate_limit: usize,
pub timeout_secs: u64,
pub api_key: Option<String>,
pub clear_api_key: bool,
}Fields§
§mode: SearchMode§rerank_enabled: bool§rerank_base_url: String§rerank_model: String§candidate_limit: usize§timeout_secs: u64§api_key: Option<String>§clear_api_key: boolTrait Implementations§
Source§impl Clone for UpdateSearchSettingsRequest
impl Clone for UpdateSearchSettingsRequest
Source§fn clone(&self) -> UpdateSearchSettingsRequest
fn clone(&self) -> UpdateSearchSettingsRequest
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 UpdateSearchSettingsRequest
impl ComposeSchema for UpdateSearchSettingsRequest
Source§impl Debug for UpdateSearchSettingsRequest
impl Debug for UpdateSearchSettingsRequest
Source§impl<'de> Deserialize<'de> for UpdateSearchSettingsRequest
impl<'de> Deserialize<'de> for UpdateSearchSettingsRequest
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 UpdateSearchSettingsRequest
impl RefUnwindSafe for UpdateSearchSettingsRequest
impl Send for UpdateSearchSettingsRequest
impl Sync for UpdateSearchSettingsRequest
impl Unpin for UpdateSearchSettingsRequest
impl UnsafeUnpin for UpdateSearchSettingsRequest
impl UnwindSafe for UpdateSearchSettingsRequest
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