pub struct WaitScope {
pub provider_id: String,
pub conversation_id: String,
pub thread_id: Option<String>,
pub reply_to_id: Option<String>,
pub correlation_id: Option<String>,
}Expand description
Stable scope describing where a wait is anchored (conversation/thread/reply).
Fields§
§provider_id: StringProvider identifier (telegram, msgraph, webchat, etc).
conversation_id: StringConversation or chat identifier.
thread_id: Option<String>Optional thread/topic identifier.
reply_to_id: Option<String>Optional reply-to identifier.
correlation_id: Option<String>Optional correlation identifier.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WaitScope
impl<'de> Deserialize<'de> for WaitScope
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
impl Eq for WaitScope
impl StructuralPartialEq for WaitScope
Auto Trait Implementations§
impl Freeze for WaitScope
impl RefUnwindSafe for WaitScope
impl Send for WaitScope
impl Sync for WaitScope
impl Unpin for WaitScope
impl UnsafeUnpin for WaitScope
impl UnwindSafe for WaitScope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.