Struct dnd_character::api::classes::LevelSpellcasting
source · pub struct LevelSpellcasting {
pub cantrips_known: Option<i32>,
pub spell_slots_level_1: Option<i32>,
pub spell_slots_level_2: Option<i32>,
pub spell_slots_level_3: Option<i32>,
pub spell_slots_level_4: Option<i32>,
pub spell_slots_level_5: Option<i32>,
pub spell_slots_level_6: Option<i32>,
pub spell_slots_level_7: Option<i32>,
pub spell_slots_level_8: Option<i32>,
pub spell_slots_level_9: Option<i32>,
}Fields§
§cantrips_known: Option<i32>§spell_slots_level_1: Option<i32>§spell_slots_level_2: Option<i32>§spell_slots_level_3: Option<i32>§spell_slots_level_4: Option<i32>§spell_slots_level_5: Option<i32>§spell_slots_level_6: Option<i32>§spell_slots_level_7: Option<i32>§spell_slots_level_8: Option<i32>§spell_slots_level_9: Option<i32>Trait Implementations§
source§impl Debug for LevelSpellcasting
impl Debug for LevelSpellcasting
source§impl<'de> Deserialize<'de> for LevelSpellcasting
impl<'de> Deserialize<'de> for LevelSpellcasting
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 LevelSpellcasting
impl QueryFragment for LevelSpellcasting
§type SchemaType = LevelSpellcasting
type SchemaType = LevelSpellcasting
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 LevelSpellcasting
impl Send for LevelSpellcasting
impl Sync for LevelSpellcasting
impl Unpin for LevelSpellcasting
impl UnwindSafe for LevelSpellcasting
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