pub struct WeaponWithId {
pub id: String,
pub data: Value,
}Fields§
§id: String§data: ValueTrait Implementations§
Source§impl Clone for WeaponWithId
impl Clone for WeaponWithId
Source§fn clone(&self) -> WeaponWithId
fn clone(&self) -> WeaponWithId
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 WeaponWithId
impl Debug for WeaponWithId
Source§impl<'de> Deserialize<'de> for WeaponWithId
impl<'de> Deserialize<'de> for WeaponWithId
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 WeaponWithId
impl RefUnwindSafe for WeaponWithId
impl Send for WeaponWithId
impl Sync for WeaponWithId
impl Unpin for WeaponWithId
impl UnwindSafe for WeaponWithId
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