pub struct Typing {
pub rooms: BTreeMap<OwnedRoomId, Raw<SyncTypingEvent>>,
}
Available on (crate features
client
or server
) and crate feature unstable-msc3575
only.Expand description
Typing extension response data.
Not yet part of the spec proposal. Taken from the reference implementation https://github.com/matrix-org/sliding-sync/blob/main/sync3/extensions/typing.go
Fields§
§rooms: BTreeMap<OwnedRoomId, Raw<SyncTypingEvent>>
The ephemeral typing event for each room
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Typing
impl<'de> Deserialize<'de> for Typing
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
Auto Trait Implementations§
impl Freeze for Typing
impl RefUnwindSafe for Typing
impl Send for Typing
impl Sync for Typing
impl Unpin for Typing
impl UnwindSafe for Typing
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