pub enum ConversationParam {
ConversationID(String),
Object(Conversation),
}Variants§
ConversationID(String)
The unique ID of the conversation.
Object(Conversation)
The conversation that this response belongs to.
Trait Implementations§
Source§impl Clone for ConversationParam
impl Clone for ConversationParam
Source§fn clone(&self) -> ConversationParam
fn clone(&self) -> ConversationParam
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConversationParam
impl Debug for ConversationParam
Source§impl<'de> Deserialize<'de> for ConversationParam
impl<'de> Deserialize<'de> for ConversationParam
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConversationParam, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConversationParam, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<S> From<S> for ConversationParam
impl<S> From<S> for ConversationParam
Source§fn from(id: S) -> ConversationParam
fn from(id: S) -> ConversationParam
Converts to this type from the input type.
Source§impl PartialEq for ConversationParam
impl PartialEq for ConversationParam
Source§impl Serialize for ConversationParam
impl Serialize for ConversationParam
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ConversationParam
Auto Trait Implementations§
impl Freeze for ConversationParam
impl RefUnwindSafe for ConversationParam
impl Send for ConversationParam
impl Sync for ConversationParam
impl Unpin for ConversationParam
impl UnsafeUnpin for ConversationParam
impl UnwindSafe for ConversationParam
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