pub struct ChatDto {
pub messages: Vec<OpenAiMessage>,
pub assistant_id: Option<String>,
pub assistant: Option<CreateAssistantDto>,
pub assistant_overrides: Option<AssistantOverrides>,
}Fields§
§messages: Vec<OpenAiMessage>§assistant_id: Option<String>§assistant: Option<CreateAssistantDto>§assistant_overrides: Option<AssistantOverrides>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChatDto
impl<'de> Deserialize<'de> for ChatDto
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
impl StructuralPartialEq for ChatDto
Auto Trait Implementations§
impl Freeze for ChatDto
impl RefUnwindSafe for ChatDto
impl Send for ChatDto
impl Sync for ChatDto
impl Unpin for ChatDto
impl UnwindSafe for ChatDto
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