pub enum ChatInput {
String(String),
MessageArray(Vec<MessageArrayInner>),
}
Expand description
ChatInput : This is the input text for the chat. Can be a string or an array of chat messages. This is the input text for the chat. Can be a string or an array of chat messages.
Variants§
String(String)
MessageArray(Vec<MessageArrayInner>)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChatInput
impl<'de> Deserialize<'de> for ChatInput
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 ChatInput
Auto Trait Implementations§
impl Freeze for ChatInput
impl RefUnwindSafe for ChatInput
impl Send for ChatInput
impl Sync for ChatInput
impl Unpin for ChatInput
impl UnwindSafe for ChatInput
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