Enum pabitell_lib::protocol::NotificationMessage
source · [−]pub enum NotificationMessage {
Event(EventNotification),
Joined(JoinedNotification),
}
Variants
Event(EventNotification)
Triggered event
Joined(JoinedNotification)
Character joined
Trait Implementations
sourceimpl Clone for NotificationMessage
impl Clone for NotificationMessage
sourcefn clone(&self) -> NotificationMessage
fn clone(&self) -> NotificationMessage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NotificationMessage
impl Debug for NotificationMessage
sourceimpl<'de> Deserialize<'de> for NotificationMessage
impl<'de> Deserialize<'de> for NotificationMessage
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for NotificationMessage
impl Serialize for NotificationMessage
Auto Trait Implementations
impl RefUnwindSafe for NotificationMessage
impl Send for NotificationMessage
impl Sync for NotificationMessage
impl Unpin for NotificationMessage
impl UnwindSafe for NotificationMessage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more