pub struct CreateEvalResponsesRunDataSourceSamplingParamsText {
pub format: Option<TextResponseFormatConfiguration>,
}
Expand description
Configuration options for a text response from the model. Can be plain text or structured JSON data. Learn more:
Fields§
§format: Option<TextResponseFormatConfiguration>
Implementations§
Source§impl CreateEvalResponsesRunDataSourceSamplingParamsText
impl CreateEvalResponsesRunDataSourceSamplingParamsText
Sourcepub fn builder() -> CreateEvalResponsesRunDataSourceSamplingParamsTextBuilder<((),)>
pub fn builder() -> CreateEvalResponsesRunDataSourceSamplingParamsTextBuilder<((),)>
Create a builder for building CreateEvalResponsesRunDataSourceSamplingParamsText
.
On the builder, call .format(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of CreateEvalResponsesRunDataSourceSamplingParamsText
.
Trait Implementations§
Source§impl Clone for CreateEvalResponsesRunDataSourceSamplingParamsText
impl Clone for CreateEvalResponsesRunDataSourceSamplingParamsText
Source§fn clone(&self) -> CreateEvalResponsesRunDataSourceSamplingParamsText
fn clone(&self) -> CreateEvalResponsesRunDataSourceSamplingParamsText
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 Default for CreateEvalResponsesRunDataSourceSamplingParamsText
impl Default for CreateEvalResponsesRunDataSourceSamplingParamsText
Source§fn default() -> CreateEvalResponsesRunDataSourceSamplingParamsText
fn default() -> CreateEvalResponsesRunDataSourceSamplingParamsText
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateEvalResponsesRunDataSourceSamplingParamsText
impl<'de> Deserialize<'de> for CreateEvalResponsesRunDataSourceSamplingParamsText
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
Source§impl PartialEq for CreateEvalResponsesRunDataSourceSamplingParamsText
impl PartialEq for CreateEvalResponsesRunDataSourceSamplingParamsText
Source§fn eq(&self, other: &CreateEvalResponsesRunDataSourceSamplingParamsText) -> bool
fn eq(&self, other: &CreateEvalResponsesRunDataSourceSamplingParamsText) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateEvalResponsesRunDataSourceSamplingParamsText
Auto Trait Implementations§
impl Freeze for CreateEvalResponsesRunDataSourceSamplingParamsText
impl RefUnwindSafe for CreateEvalResponsesRunDataSourceSamplingParamsText
impl Send for CreateEvalResponsesRunDataSourceSamplingParamsText
impl Sync for CreateEvalResponsesRunDataSourceSamplingParamsText
impl Unpin for CreateEvalResponsesRunDataSourceSamplingParamsText
impl UnwindSafe for CreateEvalResponsesRunDataSourceSamplingParamsText
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