pub struct ChatReceivedEvent {
pub message: String,
pub message_type: MsgType,
}
Fields§
§message: String
§message_type: MsgType
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChatReceivedEvent
impl RefUnwindSafe for ChatReceivedEvent
impl Send for ChatReceivedEvent
impl Sync for ChatReceivedEvent
impl Unpin for ChatReceivedEvent
impl UnwindSafe for ChatReceivedEvent
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