pub struct CachedChatRoom {
pub reference: String,
pub room_id: String,
pub code: String,
}Expand description
Cached chat half of a share. The content script only mints/opens the room
(open_room); the chat iframe owns the live ChatRoom socket so the host
does not double-join presence.
Fields§
§reference: String§room_id: String§code: StringTrait Implementations§
Source§impl Clone for CachedChatRoom
impl Clone for CachedChatRoom
Source§impl Debug for CachedChatRoom
impl Debug for CachedChatRoom
Source§impl<'de> Deserialize<'de> for CachedChatRoom
impl<'de> Deserialize<'de> for CachedChatRoom
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 CachedChatRoom
Source§impl PartialEq for CachedChatRoom
impl PartialEq for CachedChatRoom
Source§impl Serialize for CachedChatRoom
impl Serialize for CachedChatRoom
impl StructuralPartialEq for CachedChatRoom
Auto Trait Implementations§
impl Forget for CachedChatRoom
impl Freeze for CachedChatRoom
impl RefUnwindSafe for CachedChatRoom
impl Send for CachedChatRoom
impl Sync for CachedChatRoom
impl Unpin for CachedChatRoom
impl UnsafeUnpin for CachedChatRoom
impl UnwindSafe for CachedChatRoom
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.