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