pub struct BlockLoot {
pub block: String,
pub drops: Vec<BlockLootDrop>,
}
Fields§
§block: String
§drops: Vec<BlockLootDrop>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BlockLoot
impl<'de> Deserialize<'de> for BlockLoot
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
Auto Trait Implementations§
impl Freeze for BlockLoot
impl RefUnwindSafe for BlockLoot
impl Send for BlockLoot
impl Sync for BlockLoot
impl Unpin for BlockLoot
impl UnwindSafe for BlockLoot
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