pub enum ResponseConversation {
Mode(ResponseConversationMode),
Id(String),
}Expand description
"auto", "none", or a conversation ID string.
Variant order matters for #[serde(untagged)]: serde tries Mode first.
"auto" and "none" match Mode; any other string falls through to Id.
Variants§
Mode(ResponseConversationMode)
Id(String)
Trait Implementations§
Source§impl Clone for ResponseConversation
impl Clone for ResponseConversation
Source§fn clone(&self) -> ResponseConversation
fn clone(&self) -> ResponseConversation
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 ResponseConversation
impl Debug for ResponseConversation
Source§impl<'de> Deserialize<'de> for ResponseConversation
impl<'de> Deserialize<'de> for ResponseConversation
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 Freeze for ResponseConversation
impl RefUnwindSafe for ResponseConversation
impl Send for ResponseConversation
impl Sync for ResponseConversation
impl Unpin for ResponseConversation
impl UnsafeUnpin for ResponseConversation
impl UnwindSafe for ResponseConversation
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