Struct minetest_protocol::wire::command::TSModchannelMsgSpec
source · pub struct TSModchannelMsgSpec {
pub channel_name: String,
pub channel_msg: String,
}
Fields§
§channel_name: String
§channel_msg: String
Trait Implementations§
source§impl Clone for TSModchannelMsgSpec
impl Clone for TSModchannelMsgSpec
source§fn clone(&self) -> TSModchannelMsgSpec
fn clone(&self) -> TSModchannelMsgSpec
Returns a copy 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 TSModchannelMsgSpec
impl Debug for TSModchannelMsgSpec
source§impl Deserialize for TSModchannelMsgSpec
impl Deserialize for TSModchannelMsgSpec
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl From<TSModchannelMsgSpec> for ToServerCommand
impl From<TSModchannelMsgSpec> for ToServerCommand
source§fn from(value: TSModchannelMsgSpec) -> Self
fn from(value: TSModchannelMsgSpec) -> Self
Converts to this type from the input type.
source§impl PartialEq<TSModchannelMsgSpec> for TSModchannelMsgSpec
impl PartialEq<TSModchannelMsgSpec> for TSModchannelMsgSpec
source§fn eq(&self, other: &TSModchannelMsgSpec) -> bool
fn eq(&self, other: &TSModchannelMsgSpec) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.