Struct assembly_xml::obj::inv::ItemBag
source · pub struct ItemBag {
pub ty: u32,
pub children: Vec<Item>,
}
Expand description
A list of items for a storage container
Fields§
§ty: u32
Type of the bag. See InventoryType
enum for values.
children: Vec<Item>
Items in the bag
Trait Implementations§
source§impl<'de> Deserialize<'de> for ItemBag
impl<'de> Deserialize<'de> for ItemBag
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
impl Eq for ItemBag
impl StructuralPartialEq for ItemBag
Auto Trait Implementations§
impl Freeze for ItemBag
impl RefUnwindSafe for ItemBag
impl Send for ItemBag
impl Sync for ItemBag
impl Unpin for ItemBag
impl UnwindSafe for ItemBag
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