pub struct UserAmmo {
pub id: AmmoId,
pub name: String,
pub types: Vec<UserAmmoType>,
}Fields§
§id: AmmoId§name: String§types: Vec<UserAmmoType>Trait Implementations§
Source§impl<'de> Deserialize<'de> for UserAmmo
impl<'de> Deserialize<'de> for UserAmmo
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 StructuralPartialEq for UserAmmo
Auto Trait Implementations§
impl Freeze for UserAmmo
impl RefUnwindSafe for UserAmmo
impl Send for UserAmmo
impl Sync for UserAmmo
impl Unpin for UserAmmo
impl UnwindSafe for UserAmmo
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