pub struct InferenceJob {
pub model: String,
pub prompt: String,
pub max_tokens: usize,
pub temperature: f32,
}Fields§
§model: String§prompt: String§max_tokens: usize§temperature: f32Trait Implementations§
Source§impl Clone for InferenceJob
impl Clone for InferenceJob
Source§fn clone(&self) -> InferenceJob
fn clone(&self) -> InferenceJob
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 Debug for InferenceJob
impl Debug for InferenceJob
Source§impl<'de> Deserialize<'de> for InferenceJob
impl<'de> Deserialize<'de> for InferenceJob
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 InferenceJob
impl RefUnwindSafe for InferenceJob
impl Send for InferenceJob
impl Sync for InferenceJob
impl Unpin for InferenceJob
impl UnsafeUnpin for InferenceJob
impl UnwindSafe for InferenceJob
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