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