pub struct GenerationConfigRoutingConfigManualRoutingMode {
pub model_name: Option<String>,
}Expand description
When manual routing is set, the specified model will be used directly.
Fields§
§model_name: Option<String>The model name to use. Only the public LLM models are accepted.
Trait Implementations§
Source§impl Clone for GenerationConfigRoutingConfigManualRoutingMode
impl Clone for GenerationConfigRoutingConfigManualRoutingMode
Source§fn clone(&self) -> GenerationConfigRoutingConfigManualRoutingMode
fn clone(&self) -> GenerationConfigRoutingConfigManualRoutingMode
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<'de> Deserialize<'de> for GenerationConfigRoutingConfigManualRoutingMode
impl<'de> Deserialize<'de> for GenerationConfigRoutingConfigManualRoutingMode
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 GenerationConfigRoutingConfigManualRoutingMode
impl RefUnwindSafe for GenerationConfigRoutingConfigManualRoutingMode
impl Send for GenerationConfigRoutingConfigManualRoutingMode
impl Sync for GenerationConfigRoutingConfigManualRoutingMode
impl Unpin for GenerationConfigRoutingConfigManualRoutingMode
impl UnwindSafe for GenerationConfigRoutingConfigManualRoutingMode
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