pub struct PlayServerPluginMessageSpec {
pub channel: String,
pub data: RemainingBytes,
}
Fields§
§channel: String
§data: RemainingBytes
Trait Implementations§
Source§impl Clone for PlayServerPluginMessageSpec
impl Clone for PlayServerPluginMessageSpec
Source§fn clone(&self) -> PlayServerPluginMessageSpec
fn clone(&self) -> PlayServerPluginMessageSpec
Returns a duplicate of the value. Read more
1.0.0 · 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 PlayServerPluginMessageSpec
impl Debug for PlayServerPluginMessageSpec
Source§impl Deserialize for PlayServerPluginMessageSpec
impl Deserialize for PlayServerPluginMessageSpec
fn mc_deserialize(_rest: &[u8]) -> DeserializeResult<'_, Self>
Source§impl From<(String, RemainingBytes)> for PlayServerPluginMessageSpec
impl From<(String, RemainingBytes)> for PlayServerPluginMessageSpec
Source§fn from(other: (String, RemainingBytes)) -> Self
fn from(other: (String, RemainingBytes)) -> Self
Converts to this type from the input type.
Source§impl From<PlayServerPluginMessageSpec> for (String, RemainingBytes)
impl From<PlayServerPluginMessageSpec> for (String, RemainingBytes)
Source§fn from(other: PlayServerPluginMessageSpec) -> Self
fn from(other: PlayServerPluginMessageSpec) -> Self
Converts to this type from the input type.
Source§impl Serialize for PlayServerPluginMessageSpec
impl Serialize for PlayServerPluginMessageSpec
fn mc_serialize<S: Serializer>(&self, to: &mut S) -> SerializeResult
impl StructuralPartialEq for PlayServerPluginMessageSpec
Auto Trait Implementations§
impl Freeze for PlayServerPluginMessageSpec
impl RefUnwindSafe for PlayServerPluginMessageSpec
impl Send for PlayServerPluginMessageSpec
impl Sync for PlayServerPluginMessageSpec
impl Unpin for PlayServerPluginMessageSpec
impl UnwindSafe for PlayServerPluginMessageSpec
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