1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::types::User;

message_base! {
    struct LeftMember {
        /// The left member.
        member: User,
    } -> EventLoop::left_member

    fn new(member: User,) -> Self {
        Self {
            member: member,
        }
    }
}