pub struct DropsInner {
pub item: String,
pub chance: f32,
pub place: String,
pub rarity: String,
}Fields§
§item: String§chance: f32§place: String§rarity: StringImplementations§
Source§impl DropsInner
impl DropsInner
Trait Implementations§
Source§impl Clone for DropsInner
impl Clone for DropsInner
Source§fn clone(&self) -> DropsInner
fn clone(&self) -> DropsInner
Returns a duplicate 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 DropsInner
impl Debug for DropsInner
Source§impl Default for DropsInner
impl Default for DropsInner
Source§fn default() -> DropsInner
fn default() -> DropsInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DropsInner
impl<'de> Deserialize<'de> for DropsInner
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 DropsInner
impl PartialEq for DropsInner
Source§impl Serialize for DropsInner
impl Serialize for DropsInner
impl StructuralPartialEq for DropsInner
Auto Trait Implementations§
impl Freeze for DropsInner
impl RefUnwindSafe for DropsInner
impl Send for DropsInner
impl Sync for DropsInner
impl Unpin for DropsInner
impl UnwindSafe for DropsInner
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