pub struct ServerboundPluginMessage {
pub channel: String,
pub data: Vec<u8>,
}Fields§
§channel: String§data: Vec<u8>Trait Implementations§
Source§impl Clone for ServerboundPluginMessage
impl Clone for ServerboundPluginMessage
Source§fn clone(&self) -> ServerboundPluginMessage
fn clone(&self) -> ServerboundPluginMessage
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 Debug for ServerboundPluginMessage
impl Debug for ServerboundPluginMessage
Source§impl Decode for ServerboundPluginMessage
impl Decode for ServerboundPluginMessage
Source§impl Encode for ServerboundPluginMessage
impl Encode for ServerboundPluginMessage
Source§impl PartialEq for ServerboundPluginMessage
impl PartialEq for ServerboundPluginMessage
Source§fn eq(&self, other: &ServerboundPluginMessage) -> bool
fn eq(&self, other: &ServerboundPluginMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ServerboundPluginMessage
Auto Trait Implementations§
impl Freeze for ServerboundPluginMessage
impl RefUnwindSafe for ServerboundPluginMessage
impl Send for ServerboundPluginMessage
impl Sync for ServerboundPluginMessage
impl Unpin for ServerboundPluginMessage
impl UnsafeUnpin for ServerboundPluginMessage
impl UnwindSafe for ServerboundPluginMessage
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