pub struct OpenAISettingsV1 {
pub type: OpenAiSettingsV1TypeOpenai,
pub model: Option<OpenAIModelV1>,
}Expand description
OpenAI model settings.
Fields§
§type: OpenAiSettingsV1TypeOpenaiSettings type.
model: Option<OpenAIModelV1>Model identifier.
Trait Implementations§
Source§impl Clone for OpenAISettingsV1
impl Clone for OpenAISettingsV1
Source§fn clone(&self) -> OpenAISettingsV1
fn clone(&self) -> OpenAISettingsV1
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 OpenAISettingsV1
impl Debug for OpenAISettingsV1
Source§impl<'de> Deserialize<'de> for OpenAISettingsV1
impl<'de> Deserialize<'de> for OpenAISettingsV1
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 OpenAISettingsV1
impl PartialEq for OpenAISettingsV1
Source§impl Serialize for OpenAISettingsV1
impl Serialize for OpenAISettingsV1
impl StructuralPartialEq for OpenAISettingsV1
Auto Trait Implementations§
impl Freeze for OpenAISettingsV1
impl RefUnwindSafe for OpenAISettingsV1
impl Send for OpenAISettingsV1
impl Sync for OpenAISettingsV1
impl Unpin for OpenAISettingsV1
impl UnwindSafe for OpenAISettingsV1
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