pub struct NPC {
pub creature: Creature,
pub world_id: String,
}
Fields§
§creature: Creature
§world_id: String
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NPC
impl<'de> Deserialize<'de> for NPC
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 NPC
impl RefUnwindSafe for NPC
impl Send for NPC
impl Sync for NPC
impl Unpin for NPC
impl UnwindSafe for NPC
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