pub struct Redaction<'a> {
pub room_id: &'a str,
pub target_event_id: &'a str,
pub redaction_event_id: &'a str,
pub sender_user_id: i64,
pub reason: Option<&'a str>,
pub origin_server_ts: i64,
}Expand description
The redaction redact_event_marked writes: which event, in which room,
by whom, under which new event id.
Fields§
§room_id: &'a str§target_event_id: &'a str§redaction_event_id: &'a str§sender_user_id: i64§reason: Option<&'a str>§origin_server_ts: i64Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Redaction<'a>
impl<'a> RefUnwindSafe for Redaction<'a>
impl<'a> Send for Redaction<'a>
impl<'a> Sync for Redaction<'a>
impl<'a> Unpin for Redaction<'a>
impl<'a> UnsafeUnpin for Redaction<'a>
impl<'a> UnwindSafe for Redaction<'a>
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