pub struct WakeLetter<'a> {
pub body: &'a str,
pub from_nick: &'a str,
pub event_id: &'a str,
pub room: Option<&'a str>,
}Expand description
One decrypted room text to put in front of the session.
Fields§
§body: &'a strPlaintext body.
from_nick: &'a strSender nick.
event_id: &'a strMatrix event id (dedupe key).
room: Option<&'a str>Room id, if known.
Trait Implementations§
Source§impl<'a> Clone for WakeLetter<'a>
impl<'a> Clone for WakeLetter<'a>
impl<'a> Copy for WakeLetter<'a>
Auto Trait Implementations§
impl<'a> Freeze for WakeLetter<'a>
impl<'a> RefUnwindSafe for WakeLetter<'a>
impl<'a> Send for WakeLetter<'a>
impl<'a> Sync for WakeLetter<'a>
impl<'a> Unpin for WakeLetter<'a>
impl<'a> UnsafeUnpin for WakeLetter<'a>
impl<'a> UnwindSafe for WakeLetter<'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