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 Clone for LevelSpellcasting
impl Clone for LevelSpellcasting
Source§fn clone(&self) -> LevelSpellcasting
fn clone(&self) -> LevelSpellcasting
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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 Into<UsableSlots> for LevelSpellcasting
impl Into<UsableSlots> for LevelSpellcasting
Source§fn into(self) -> UsableSlots
fn into(self) -> UsableSlots
Converts this type into the (usually inferred) input type.
Source§impl QueryFragment for LevelSpellcasting
impl QueryFragment for LevelSpellcasting
Source§type SchemaType = LevelSpellcasting
type SchemaType = LevelSpellcasting
The type in a schema that this
QueryFragment representsSource§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
builderSource§impl Serialize for LevelSpellcasting
impl Serialize for LevelSpellcasting
impl Copy for LevelSpellcasting
Auto Trait Implementations§
impl Freeze for LevelSpellcasting
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