pub struct ThreadKey {
pub scope: Scope,
pub surface_id: ConversationSurface,
pub thread_id: ThreadId,
}Expand description
Fully scoped key for one durable Agent thread.
Fields§
§scope: ScopeAuthorization and persistence scope.
surface_id: ConversationSurfaceCanonical Conversation-space identity and delivery route.
thread_id: ThreadIdThread identifier within the scope.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ThreadKey
impl<'de> Deserialize<'de> for ThreadKey
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 ThreadKey
impl StructuralPartialEq for ThreadKey
Auto Trait Implementations§
impl Freeze for ThreadKey
impl RefUnwindSafe for ThreadKey
impl Send for ThreadKey
impl Sync for ThreadKey
impl Unpin for ThreadKey
impl UnsafeUnpin for ThreadKey
impl UnwindSafe for ThreadKey
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