pub struct OpenAiChatPrompt {
pub messages: Vec<OpenAiChatMessage>,
pub model: String,
pub reasoning_effort: Option<String>,
pub max_tokens: i32,
pub stream: bool,
}Fields§
§messages: Vec<OpenAiChatMessage>§model: String§reasoning_effort: Option<String>§max_tokens: i32§stream: boolTrait Implementations§
Source§impl DeJson for OpenAiChatPrompt
impl DeJson for OpenAiChatPrompt
Source§impl Debug for OpenAiChatPrompt
impl Debug for OpenAiChatPrompt
Source§impl SerJson for OpenAiChatPrompt
impl SerJson for OpenAiChatPrompt
fn ser_json(&self, d: usize, s: &mut SerJsonState)
fn serialize_json(&self) -> String
Auto Trait Implementations§
impl Freeze for OpenAiChatPrompt
impl RefUnwindSafe for OpenAiChatPrompt
impl Send for OpenAiChatPrompt
impl Sync for OpenAiChatPrompt
impl Unpin for OpenAiChatPrompt
impl UnwindSafe for OpenAiChatPrompt
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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