Struct dnd_character::api::spells::Spell
source · pub struct Spell {
pub index: String,
pub level: i32,
}Fields§
§index: String§level: i32Trait 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
source§impl QueryFragment for Spell
impl QueryFragment for Spell
§type SchemaType = Spell
type SchemaType = Spell
The type in a schema that this
QueryFragment represents§type VariablesFields = ()
type VariablesFields = ()
The variables that are required to execute this
QueryFragmentsource§fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::VariablesFields>)
fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::VariablesFields>)
Adds this fragment to the query being built by
builderAuto Trait Implementations§
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