[][src]Struct splitterrust_db::models::spell::Spell

pub struct Spell {
    pub id: i32,
    pub name: String,
    pub cast_duration: String,
    pub options: Vec<String>,
    pub range: String,
    pub difficulty: String,
    pub typus: String,
    pub enforced: String,
    pub effect: String,
    pub duration_of_effect: String,
    pub cost: String,
    pub schools_id: i32,
}

Fields

id: i32name: Stringcast_duration: Stringoptions: Vec<String>range: Stringdifficulty: Stringtypus: Stringenforced: Stringeffect: Stringduration_of_effect: Stringcost: Stringschools_id: i32

Methods

impl Spell[src]

pub fn to_string(self) -> String[src]

Trait Implementations

impl Clone for Spell[src]

impl Debug for Spell[src]

impl<'de> Deserialize<'de> for Spell[src]

impl<__DB: Backend, __ST> Queryable<__ST, __DB> for Spell where
    (i32, String, String, Vec<String>, String, String, String, String, String, String, String, i32): Queryable<__ST, __DB>, 
[src]

type Row = <(i32, String, String, Vec<String>, String, String, String, String, String, String, String, i32) as Queryable<__ST, __DB>>::Row

The Rust type you'd like to map from. Read more

impl Serialize for Spell[src]

Auto Trait Implementations

impl RefUnwindSafe for Spell

impl Send for Spell

impl Sync for Spell

impl Unpin for Spell

impl UnwindSafe for Spell

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.