pub struct AdapterStructuredCompletionRequest {
pub model: ModelName,
pub system: Option<String>,
pub prompt: String,
pub generation: GenerationParams,
pub output: AdapterStructuredOutputSpec,
}Fields§
§model: ModelName§system: Option<String>§prompt: String§generation: GenerationParams§output: AdapterStructuredOutputSpecTrait Implementations§
Source§impl Clone for AdapterStructuredCompletionRequest
impl Clone for AdapterStructuredCompletionRequest
Source§fn clone(&self) -> AdapterStructuredCompletionRequest
fn clone(&self) -> AdapterStructuredCompletionRequest
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 PartialEq for AdapterStructuredCompletionRequest
impl PartialEq for AdapterStructuredCompletionRequest
Source§fn eq(&self, other: &AdapterStructuredCompletionRequest) -> bool
fn eq(&self, other: &AdapterStructuredCompletionRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AdapterStructuredCompletionRequest
Auto Trait Implementations§
impl Freeze for AdapterStructuredCompletionRequest
impl RefUnwindSafe for AdapterStructuredCompletionRequest
impl Send for AdapterStructuredCompletionRequest
impl Sync for AdapterStructuredCompletionRequest
impl Unpin for AdapterStructuredCompletionRequest
impl UnsafeUnpin for AdapterStructuredCompletionRequest
impl UnwindSafe for AdapterStructuredCompletionRequest
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