pub struct ModelSelection {
pub model_id: String,
pub provider_id: Option<String>,
pub profile_id: Option<String>,
pub display_label: Option<String>,
}Expand description
A model selection. Empty strings are normalized to absent.
Fields§
§model_id: StringCatalog model id. Required.
provider_id: Option<String>Provider routing.
profile_id: Option<String>Provider profile. Omitted and explicit null both mean “no profile”.
display_label: Option<String>Presentation label.
Trait Implementations§
Source§impl Clone for ModelSelection
impl Clone for ModelSelection
Source§impl Debug for ModelSelection
impl Debug for ModelSelection
Source§impl<'de> Deserialize<'de> for ModelSelection
impl<'de> Deserialize<'de> for ModelSelection
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
impl Eq for ModelSelection
Source§impl PartialEq for ModelSelection
impl PartialEq for ModelSelection
Source§impl Serialize for ModelSelection
impl Serialize for ModelSelection
impl StructuralPartialEq for ModelSelection
Auto Trait Implementations§
impl Forget for ModelSelection
impl Freeze for ModelSelection
impl Move for ModelSelection
impl RefUnwindSafe for ModelSelection
impl Send for ModelSelection
impl Sync for ModelSelection
impl Unpin for ModelSelection
impl UnsafeUnpin for ModelSelection
impl UnwindSafe for ModelSelection
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