pub struct ChatMessage<'a> {
pub body: &'a str,
pub timestamp: &'a str,
pub outgoing: bool,
}Expand description
One chat message for Frame::chat_bubble.
Fields§
§body: &'a str§timestamp: &'a str§outgoing: boolTrait Implementations§
Source§impl<'a> Clone for ChatMessage<'a>
impl<'a> Clone for ChatMessage<'a>
impl<'a> Copy for ChatMessage<'a>
Auto Trait Implementations§
impl<'a> Forget for ChatMessage<'a>
impl<'a> Freeze for ChatMessage<'a>
impl<'a> Move for ChatMessage<'a>
impl<'a> RefUnwindSafe for ChatMessage<'a>
impl<'a> Send for ChatMessage<'a>
impl<'a> Sync for ChatMessage<'a>
impl<'a> Unpin for ChatMessage<'a>
impl<'a> UnsafeUnpin for ChatMessage<'a>
impl<'a> UnwindSafe for ChatMessage<'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