pub struct TornItemAmmo {
pub id: AmmoId,
pub name: String,
pub price: i64,
pub types: Vec<TornItemAmmoTypeEnum>,
}
Fields§
§id: AmmoId
§name: String
§price: i64
§types: Vec<TornItemAmmoTypeEnum>
Types of ammo
Trait Implementations§
Source§impl Clone for TornItemAmmo
impl Clone for TornItemAmmo
Source§fn clone(&self) -> TornItemAmmo
fn clone(&self) -> TornItemAmmo
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 moreSource§impl Debug for TornItemAmmo
impl Debug for TornItemAmmo
Source§impl<'de> Deserialize<'de> for TornItemAmmo
impl<'de> Deserialize<'de> for TornItemAmmo
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 TornItemAmmo
impl PartialEq for TornItemAmmo
impl StructuralPartialEq for TornItemAmmo
Auto Trait Implementations§
impl Freeze for TornItemAmmo
impl RefUnwindSafe for TornItemAmmo
impl Send for TornItemAmmo
impl Sync for TornItemAmmo
impl Unpin for TornItemAmmo
impl UnwindSafe for TornItemAmmo
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