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
Saved conversation data for persistence.
Fields§
§conversation_name: String§reqid: u32§conversation_id: String§response_id: String§choice_id: String§snlm0e: String§model_name: String§timestamp: StringTrait 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 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