pub struct ArchitectChat {
pub room: ChatRoom,
pub me: Presence,
pub chat_id: String,
}Expand description
{ room, self, chatId } in the TypeScript SDK, with self as me.
Fields§
§room: ChatRoom§me: Presence§chat_id: StringTrait Implementations§
Auto Trait Implementations§
impl Forget for ArchitectChat
impl Freeze for ArchitectChatwhere
*const ArcInner<RoomInner> is !null: Freeze,
PhantomData<ArcInner<RoomInner>>: Freeze,
*const ArcInner<ChatState> is !null: Freeze,
PhantomData<ArcInner<ChatState>>: Freeze,
*const ArcInner<PresenceInner> is !null: Freeze,
PhantomData<ArcInner<PresenceInner>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
impl Move for ArchitectChat
impl RefUnwindSafe for ArchitectChatwhere
Atomic<usize>: RefUnwindSafe,
Chan<Message, Semaphore>: RefUnwindSafe,
Mutex<Vec<Presence>>: RefUnwindSafe,
RwLock<bool>: RefUnwindSafe,
AtomicUsize: RefUnwindSafe,
Notify: RefUnwindSafe,
Atomic<bool>: RefUnwindSafe,
Mutex<Chat>: RefUnwindSafe,
Mutex<Arc<dyn RoomHooks>>: RefUnwindSafe,
Mutex<Vec<Tool>>: RefUnwindSafe,
Mutex<HashSet<String>>: RefUnwindSafe,
Mutex<Vec<RoomToolCall>>: RefUnwindSafe,
Mutex<Vec<(u64, Arc<dyn Fn(Option<u64>) + Sync + Send>)>>: RefUnwindSafe,
Atomic<u64>: RefUnwindSafe,
Mutex<Option<Presence>>: RefUnwindSafe,
Mutex<String>: RefUnwindSafe,
Mutex<PresenceState>: RefUnwindSafe,
impl Send for ArchitectChat
impl Sync for ArchitectChat
impl Unpin for ArchitectChat
impl UnsafeUnpin for ArchitectChatwhere
*const ArcInner<RoomInner> is !null: UnsafeUnpin,
PhantomData<ArcInner<RoomInner>>: UnsafeUnpin,
*const ArcInner<ChatState> is !null: UnsafeUnpin,
PhantomData<ArcInner<ChatState>>: UnsafeUnpin,
*const ArcInner<PresenceInner> is !null: UnsafeUnpin,
PhantomData<ArcInner<PresenceInner>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for ArchitectChatwhere
Arc<RoomInner>: UnwindSafe,
Arc<ChatState>: UnwindSafe,
Arc<PresenceInner>: UnwindSafe,
RawVecInner: UnwindSafe,
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