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