pub struct ConversationPayload {
pub messages: Vec<HashMap<String, Value>>,
}Expand description
ConversationPayload :
Fields§
§messages: Vec<HashMap<String, Value>>Implementations§
Trait Implementations§
Source§impl Clone for ConversationPayload
impl Clone for ConversationPayload
Source§fn clone(&self) -> ConversationPayload
fn clone(&self) -> ConversationPayload
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 ConversationPayload
impl Debug for ConversationPayload
Source§impl Default for ConversationPayload
impl Default for ConversationPayload
Source§fn default() -> ConversationPayload
fn default() -> ConversationPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConversationPayload
impl<'de> Deserialize<'de> for ConversationPayload
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 ConversationPayload
impl PartialEq for ConversationPayload
Source§impl Serialize for ConversationPayload
impl Serialize for ConversationPayload
impl StructuralPartialEq for ConversationPayload
Auto Trait Implementations§
impl Freeze for ConversationPayload
impl RefUnwindSafe for ConversationPayload
impl Send for ConversationPayload
impl Sync for ConversationPayload
impl Unpin for ConversationPayload
impl UnsafeUnpin for ConversationPayload
impl UnwindSafe for ConversationPayload
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