pub struct ConversationScope {
pub env: String,
pub tenant: String,
pub platform: String,
pub chat_id: String,
pub user_id: String,
pub thread_id: Option<String>,
}Expand description
Scope describing a user conversation on a channel.
Fields§
§env: String§tenant: String§platform: String§chat_id: String§user_id: String§thread_id: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for ConversationScope
impl Clone for ConversationScope
Source§fn clone(&self) -> ConversationScope
fn clone(&self) -> ConversationScope
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 ConversationScope
impl Debug for ConversationScope
Source§impl<'de> Deserialize<'de> for ConversationScope
impl<'de> Deserialize<'de> for ConversationScope
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
Source§impl Hash for ConversationScope
impl Hash for ConversationScope
Source§impl PartialEq for ConversationScope
impl PartialEq for ConversationScope
Source§impl Serialize for ConversationScope
impl Serialize for ConversationScope
impl Eq for ConversationScope
impl StructuralPartialEq for ConversationScope
Auto Trait Implementations§
impl Freeze for ConversationScope
impl RefUnwindSafe for ConversationScope
impl Send for ConversationScope
impl Sync for ConversationScope
impl Unpin for ConversationScope
impl UnwindSafe for ConversationScope
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