pub struct ChatSessionResponse {
pub session: Record,
pub message_count: usize,
}Expand description
Response containing chat session information
Fields§
§session: Record§message_count: usizeTrait Implementations§
Source§impl Clone for ChatSessionResponse
impl Clone for ChatSessionResponse
Source§fn clone(&self) -> ChatSessionResponse
fn clone(&self) -> ChatSessionResponse
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 ChatSessionResponse
impl Debug for ChatSessionResponse
Source§impl<'de> Deserialize<'de> for ChatSessionResponse
impl<'de> Deserialize<'de> for ChatSessionResponse
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 ChatSessionResponse
impl RefUnwindSafe for ChatSessionResponse
impl Send for ChatSessionResponse
impl Sync for ChatSessionResponse
impl Unpin for ChatSessionResponse
impl UnsafeUnpin for ChatSessionResponse
impl UnwindSafe for ChatSessionResponse
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