pub struct Shown<'a> {
pub m: &'a Message,
pub head: Option<String>,
}Expand description
One message as an event shows it: whole, or head, the start of its text (capped).
Fields§
§m: &'a Message§head: Option<String>Auto Trait Implementations§
impl<'a> Freeze for Shown<'a>
impl<'a> RefUnwindSafe for Shown<'a>
impl<'a> Send for Shown<'a>
impl<'a> Sync for Shown<'a>
impl<'a> Unpin for Shown<'a>
impl<'a> UnsafeUnpin for Shown<'a>
impl<'a> UnwindSafe for Shown<'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