pub struct InventorySpawn {
pub token: String,
pub version: i32,
}Fields§
§token: String§version: i32Implementations§
Source§impl InventorySpawn
impl InventorySpawn
pub fn new(token: String, version: i32) -> InventorySpawn
Trait Implementations§
Source§impl Clone for InventorySpawn
impl Clone for InventorySpawn
Source§impl Debug for InventorySpawn
impl Debug for InventorySpawn
Source§impl Default for InventorySpawn
impl Default for InventorySpawn
Source§impl<'de> Deserialize<'de> for InventorySpawn
impl<'de> Deserialize<'de> for InventorySpawn
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 InventorySpawn
impl PartialEq for InventorySpawn
Source§impl Serialize for InventorySpawn
impl Serialize for InventorySpawn
impl StructuralPartialEq for InventorySpawn
Auto Trait Implementations§
impl Freeze for InventorySpawn
impl RefUnwindSafe for InventorySpawn
impl Send for InventorySpawn
impl Sync for InventorySpawn
impl Unpin for InventorySpawn
impl UnsafeUnpin for InventorySpawn
impl UnwindSafe for InventorySpawn
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