Enum miraie::messages::Message [−][src]
pub enum Message { Friend(FriendMessage), Group(GroupMessage), Temp(TempMessage), Stranger(StrangerMessage), Event(Event), }
Expand description
接收到的消息,可能是群消息、私聊消息、事件等
Variants
Friend(FriendMessage)
Group(GroupMessage)
Temp(TempMessage)
Stranger(StrangerMessage)
Event(Event)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Message
impl UnwindSafe for Message
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V