pub enum RealtimeConversationItemContentType {
InputAudio,
InputText,
ItemReference,
Text,
}
Expand description
The content type (input_text
, input_audio
, item_reference
, text
).
Variants§
Trait Implementations§
Source§impl Clone for RealtimeConversationItemContentType
impl Clone for RealtimeConversationItemContentType
Source§fn clone(&self) -> RealtimeConversationItemContentType
fn clone(&self) -> RealtimeConversationItemContentType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'de> Deserialize<'de> for RealtimeConversationItemContentType
impl<'de> Deserialize<'de> for RealtimeConversationItemContentType
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 RealtimeConversationItemContentType
impl PartialEq for RealtimeConversationItemContentType
Source§fn eq(&self, other: &RealtimeConversationItemContentType) -> bool
fn eq(&self, other: &RealtimeConversationItemContentType) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for RealtimeConversationItemContentType
impl StructuralPartialEq for RealtimeConversationItemContentType
Auto Trait Implementations§
impl Freeze for RealtimeConversationItemContentType
impl RefUnwindSafe for RealtimeConversationItemContentType
impl Send for RealtimeConversationItemContentType
impl Sync for RealtimeConversationItemContentType
impl Unpin for RealtimeConversationItemContentType
impl UnwindSafe for RealtimeConversationItemContentType
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