pub struct MatrixEvent {
pub stream_id: i64,
pub event_id: String,
pub room_id: String,
pub sender_user_id: i64,
pub event_type: String,
pub state_key: Option<String>,
pub content: String,
pub origin_server_ts: i64,
pub txn_id: Option<String>,
pub redacts: Option<String>,
pub redacted_by: Option<String>,
}Fields§
§stream_id: i64§event_id: String§room_id: String§sender_user_id: i64§event_type: String§state_key: Option<String>None for a timeline event; Some("") or more for a state event.
content: String§origin_server_ts: i64§txn_id: Option<String>§redacts: Option<String>§redacted_by: Option<String>Trait Implementations§
Source§impl Clone for MatrixEvent
impl Clone for MatrixEvent
Source§impl Debug for MatrixEvent
impl Debug for MatrixEvent
Source§impl PartialEq for MatrixEvent
impl PartialEq for MatrixEvent
impl StructuralPartialEq for MatrixEvent
Auto Trait Implementations§
impl Freeze for MatrixEvent
impl RefUnwindSafe for MatrixEvent
impl Send for MatrixEvent
impl Sync for MatrixEvent
impl Unpin for MatrixEvent
impl UnsafeUnpin for MatrixEvent
impl UnwindSafe for MatrixEvent
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