pub struct SavedConversation {
pub conversation_name: String,
pub reqid: u32,
pub conversation_id: String,
pub response_id: String,
pub choice_id: String,
pub snlm0e: String,
pub model_name: String,
pub timestamp: String,
}Expand description
Persisted conversation state written by AsyncChatbot::save_conversation.
Fields§
§conversation_name: StringUser-provided name used as the lookup key.
reqid: u32Internal request ID used by the backend.
conversation_id: StringConversation identifier.
response_id: StringResponse identifier.
choice_id: StringSelected choice identifier.
snlm0e: StringSession token required for requests.
model_name: StringModel name string at the time of saving.
timestamp: StringSeconds since UNIX epoch, as a string.
Trait Implementations§
Source§impl Clone for SavedConversation
impl Clone for SavedConversation
Source§fn clone(&self) -> SavedConversation
fn clone(&self) -> SavedConversation
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 SavedConversation
impl Debug for SavedConversation
Source§impl<'de> Deserialize<'de> for SavedConversation
impl<'de> Deserialize<'de> for SavedConversation
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 SavedConversation
impl RefUnwindSafe for SavedConversation
impl Send for SavedConversation
impl Sync for SavedConversation
impl Unpin for SavedConversation
impl UnsafeUnpin for SavedConversation
impl UnwindSafe for SavedConversation
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