pub enum ConversationContent {
Text {
text: String,
},
InputText {
text: String,
},
OutputText {
text: String,
},
InputImage {
image_url: String,
},
InputFile {
filename: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for ConversationContent
impl Clone for ConversationContent
Source§impl Debug for ConversationContent
impl Debug for ConversationContent
Source§impl<'de> Deserialize<'de> for ConversationContent
impl<'de> Deserialize<'de> for ConversationContent
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
Auto Trait Implementations§
impl Forget for ConversationContent
impl Freeze for ConversationContent
impl Move for ConversationContent
impl RefUnwindSafe for ConversationContent
impl Send for ConversationContent
impl Sync for ConversationContent
impl Unpin for ConversationContent
impl UnsafeUnpin for ConversationContent
impl UnwindSafe for ConversationContent
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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