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