pub struct ChatThread {
pub id: String,
pub title: String,
pub bot_id: String,
pub pinned: bool,
pub archived: bool,
}Expand description
A conversation with one bot.
Fields§
§id: String§title: String§bot_id: String§pinned: bool§archived: boolTrait Implementations§
Source§impl Clone for ChatThread
impl Clone for ChatThread
Source§impl Debug for ChatThread
impl Debug for ChatThread
Source§impl<'de> Deserialize<'de> for ChatThread
impl<'de> Deserialize<'de> for ChatThread
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 ChatThread
impl RefUnwindSafe for ChatThread
impl Send for ChatThread
impl Sync for ChatThread
impl Unpin for ChatThread
impl UnsafeUnpin for ChatThread
impl UnwindSafe for ChatThread
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