pub struct InventorySpec {
pub inventory: Inventory,
}
Fields§
§inventory: Inventory
Trait Implementations§
Source§impl Clone for InventorySpec
impl Clone for InventorySpec
Source§fn clone(&self) -> InventorySpec
fn clone(&self) -> InventorySpec
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 InventorySpec
impl Debug for InventorySpec
Source§impl Deserialize for InventorySpec
impl Deserialize for InventorySpec
Source§type Output = InventorySpec
type Output = InventorySpec
Output should be Self, except for wrapper types.
fn deserialize(deser: &mut Deserializer<'_>) -> DeserializeResult<Self>
Source§impl From<InventorySpec> for ToClientCommand
impl From<InventorySpec> for ToClientCommand
Source§fn from(value: InventorySpec) -> Self
fn from(value: InventorySpec) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InventorySpec
impl PartialEq for InventorySpec
Source§impl Serialize for InventorySpec
impl Serialize for InventorySpec
type Input = InventorySpec
fn serialize<S: Serializer>(value: &Self::Input, ser: &mut S) -> SerializeResult
impl StructuralPartialEq for InventorySpec
Auto Trait Implementations§
impl Freeze for InventorySpec
impl RefUnwindSafe for InventorySpec
impl Send for InventorySpec
impl Sync for InventorySpec
impl Unpin for InventorySpec
impl UnwindSafe for InventorySpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more