pub struct ModelHint {
pub name: Option<String>,
pub extra: HashMap<String, Value>,
}
Expand description
A hint to use when selecting a model (e.g., substring matches).
Fields§
§name: Option<String>
§extra: HashMap<String, Value>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ModelHint
impl<'de> Deserialize<'de> for ModelHint
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 ModelHint
impl RefUnwindSafe for ModelHint
impl Send for ModelHint
impl Sync for ModelHint
impl Unpin for ModelHint
impl UnwindSafe for ModelHint
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