Enum minetest_protocol::wire::types::InventoryAction   
source · pub enum InventoryAction {
    Move {
        count: u16,
        from_inv: InventoryLocation,
        from_list: String,
        from_i: s16,
        to_inv: InventoryLocation,
        to_list: String,
        to_i: Option<s16>,
    },
    Craft {
        count: u16,
        craft_inv: InventoryLocation,
    },
    Drop {
        count: u16,
        from_inv: InventoryLocation,
        from_list: String,
        from_i: s16,
    },
}Variants§
Trait Implementations§
source§impl Clone for InventoryAction
 
impl Clone for InventoryAction
source§fn clone(&self) -> InventoryAction
 
fn clone(&self) -> InventoryAction
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 InventoryAction
 
impl Debug for InventoryAction
source§impl Deserialize for InventoryAction
 
impl Deserialize for InventoryAction
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
source§impl PartialEq<InventoryAction> for InventoryAction
 
impl PartialEq<InventoryAction> for InventoryAction
source§fn eq(&self, other: &InventoryAction) -> bool
 
fn eq(&self, other: &InventoryAction) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.