pub struct DetailedItemStack {
pub item_id: String,
pub count: i64,
pub modifiers: ItemModifiers,
}Expand description
An ItemStack together with its value-bearing modifiers.
Fields§
§item_id: String§count: i64§modifiers: ItemModifiersTrait Implementations§
Source§impl Clone for DetailedItemStack
impl Clone for DetailedItemStack
Source§fn clone(&self) -> DetailedItemStack
fn clone(&self) -> DetailedItemStack
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DetailedItemStack
impl Debug for DetailedItemStack
Source§impl<'de> Deserialize<'de> for DetailedItemStack
impl<'de> Deserialize<'de> for DetailedItemStack
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DetailedItemStack
impl PartialEq for DetailedItemStack
Source§impl Serialize for DetailedItemStack
impl Serialize for DetailedItemStack
impl StructuralPartialEq for DetailedItemStack
Auto Trait Implementations§
impl Freeze for DetailedItemStack
impl RefUnwindSafe for DetailedItemStack
impl Send for DetailedItemStack
impl Sync for DetailedItemStack
impl Unpin for DetailedItemStack
impl UnsafeUnpin for DetailedItemStack
impl UnwindSafe for DetailedItemStack
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