pub struct Notification<'a> {
pub msg: CowStr<'a>,
}Expand description
#24: BANCHO_NOTIFICATION
Fields§
§msg: CowStr<'a>Implementations§
Trait Implementations§
Source§impl<'a> BanchoPacket for Notification<'a>
impl<'a> BanchoPacket for Notification<'a>
Source§impl<'a> BanchoPacketLength for Notification<'a>
impl<'a> BanchoPacketLength for Notification<'a>
Source§impl<'a> Clone for Notification<'a>
impl<'a> Clone for Notification<'a>
Source§fn clone(&self) -> Notification<'a>
fn clone(&self) -> Notification<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for Notification<'a>
impl<'a> Debug for Notification<'a>
Source§impl<'a> Default for Notification<'a>
impl<'a> Default for Notification<'a>
Source§fn default() -> Notification<'a>
fn default() -> Notification<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for Notification<'a>
impl<'a> RefUnwindSafe for Notification<'a>
impl<'a> Send for Notification<'a>
impl<'a> Sync for Notification<'a>
impl<'a> Unpin for Notification<'a>
impl<'a> UnsafeUnpin for Notification<'a>
impl<'a> UnwindSafe for Notification<'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