Struct veloren_common::trade::ReducedInventoryItem
source · pub struct ReducedInventoryItem {
pub name: ItemDefinitionIdOwned,
pub amount: u32,
}
Fields§
§name: ItemDefinitionIdOwned
§amount: u32
Trait Implementations§
source§impl Clone for ReducedInventoryItem
impl Clone for ReducedInventoryItem
source§fn clone(&self) -> ReducedInventoryItem
fn clone(&self) -> ReducedInventoryItem
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 moreAuto Trait Implementations§
impl RefUnwindSafe for ReducedInventoryItem
impl Send for ReducedInventoryItem
impl Sync for ReducedInventoryItem
impl Unpin for ReducedInventoryItem
impl UnwindSafe for ReducedInventoryItem
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