pub struct Spell {
pub id: i32,
pub name: String,
pub description: String,
pub attributes: BTreeMap<AttributeType, Attribute>,
}
Fields§
§id: i32
§name: String
§description: String
§attributes: BTreeMap<AttributeType, Attribute>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Spell
impl<'de> Deserialize<'de> for Spell
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 Eq for Spell
impl StructuralPartialEq for Spell
Auto Trait Implementations§
impl Freeze for Spell
impl RefUnwindSafe for Spell
impl Send for Spell
impl Sync for Spell
impl Unpin for Spell
impl UnwindSafe for Spell
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