pub enum ChatCompletionRequestSystemMessageContent {
Text(String),
Array(Vec<ChatCompletionRequestSystemMessageContentPart>),
}
Variants§
Text(String)
Array(Vec<ChatCompletionRequestSystemMessageContentPart>)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChatCompletionRequestSystemMessageContent
impl<'de> Deserialize<'de> for ChatCompletionRequestSystemMessageContent
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 ChatCompletionRequestSystemMessageContent
impl PartialEq for ChatCompletionRequestSystemMessageContent
Source§fn eq(&self, other: &ChatCompletionRequestSystemMessageContent) -> bool
fn eq(&self, other: &ChatCompletionRequestSystemMessageContent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ChatCompletionRequestSystemMessageContent
Auto Trait Implementations§
impl Freeze for ChatCompletionRequestSystemMessageContent
impl RefUnwindSafe for ChatCompletionRequestSystemMessageContent
impl Send for ChatCompletionRequestSystemMessageContent
impl Sync for ChatCompletionRequestSystemMessageContent
impl Unpin for ChatCompletionRequestSystemMessageContent
impl UnwindSafe for ChatCompletionRequestSystemMessageContent
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