pub struct DataSourceResponsesSamplingParamsText {
pub format: Option<Value>,
}Expand description
Configuration options for a text response from the model.
Fields§
§format: Option<Value>An object specifying the format that the model must output.
Trait Implementations§
Source§impl Clone for DataSourceResponsesSamplingParamsText
impl Clone for DataSourceResponsesSamplingParamsText
Source§fn clone(&self) -> DataSourceResponsesSamplingParamsText
fn clone(&self) -> DataSourceResponsesSamplingParamsText
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for DataSourceResponsesSamplingParamsText
impl<'de> Deserialize<'de> for DataSourceResponsesSamplingParamsText
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 DataSourceResponsesSamplingParamsText
impl RefUnwindSafe for DataSourceResponsesSamplingParamsText
impl Send for DataSourceResponsesSamplingParamsText
impl Sync for DataSourceResponsesSamplingParamsText
impl Unpin for DataSourceResponsesSamplingParamsText
impl UnsafeUnpin for DataSourceResponsesSamplingParamsText
impl UnwindSafe for DataSourceResponsesSamplingParamsText
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