pub enum ConversationContentType {
Text,
Audio,
InputText,
InputAudio,
}Expand description
Type of content in a conversation item.
Variants§
Text
Text content.
Audio
Audio content.
InputText
Input text content.
InputAudio
Input audio content.
Trait Implementations§
Source§impl Clone for ConversationContentType
impl Clone for ConversationContentType
Source§fn clone(&self) -> ConversationContentType
fn clone(&self) -> ConversationContentType
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 ConversationContentType
impl Debug for ConversationContentType
Source§impl<'de> Deserialize<'de> for ConversationContentType
impl<'de> Deserialize<'de> for ConversationContentType
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 ConversationContentType
impl PartialEq for ConversationContentType
Source§impl Serialize for ConversationContentType
impl Serialize for ConversationContentType
impl Copy for ConversationContentType
impl Eq for ConversationContentType
impl StructuralPartialEq for ConversationContentType
Auto Trait Implementations§
impl Freeze for ConversationContentType
impl RefUnwindSafe for ConversationContentType
impl Send for ConversationContentType
impl Sync for ConversationContentType
impl Unpin for ConversationContentType
impl UnsafeUnpin for ConversationContentType
impl UnwindSafe for ConversationContentType
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