pub struct ModelHint {
pub name: String,
}
Expand description
Model hint for sampling
Fields§
§name: String
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