pub struct PushedRoomEvent {
pub room: String,
pub sender: String,
pub body: String,
pub event_id: String,
pub wire_type: String,
}Expand description
One room event the homeserver pushed for a single session.
Fields§
§room: StringRoom id.
sender: StringSender mxid.
body: StringAlways empty on push v1 (server never sends plaintext). Kept so
call sites compiling against this struct stay stable; wake uses
/sync + decrypt, not this field.
event_id: StringMatrix event id.
wire_type: Stringm.room.message or m.room.encrypted.
Trait Implementations§
Source§impl Clone for PushedRoomEvent
impl Clone for PushedRoomEvent
Source§impl Debug for PushedRoomEvent
impl Debug for PushedRoomEvent
impl Eq for PushedRoomEvent
Source§impl PartialEq for PushedRoomEvent
impl PartialEq for PushedRoomEvent
impl StructuralPartialEq for PushedRoomEvent
Auto Trait Implementations§
impl Freeze for PushedRoomEvent
impl RefUnwindSafe for PushedRoomEvent
impl Send for PushedRoomEvent
impl Sync for PushedRoomEvent
impl Unpin for PushedRoomEvent
impl UnsafeUnpin for PushedRoomEvent
impl UnwindSafe for PushedRoomEvent
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