pub struct ChatThread {
pub id: String,
pub tenant_id: String,
pub integration_id: String,
pub platform_thread_hash: String,
pub platform: Platform,
pub user_id: String,
pub app_id: String,
pub session_id: Option<String>,
pub last_run_id: Option<String>,
pub sender_hash: Option<String>,
pub last_inbound_at: Option<String>,
pub last_outbound_at: Option<String>,
}Expand description
平台 thread 到 Acosmi session 的映射(SDK 只读视图)。永不携带原始 thread/sender ID。
TS ChatThread。
Fields§
§id: String§tenant_id: String§integration_id: String§platform_thread_hash: String§platform: Platform§user_id: String§app_id: String§session_id: Option<String>§last_run_id: Option<String>§sender_hash: Option<String>§last_inbound_at: Option<String>§last_outbound_at: Option<String>Trait 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