[][src]Function splitterrust_db::models::spell::write_new_spell

pub fn write_new_spell<'a>(
    conn: &PgConnection,
    name: &'a str,
    cast_duration: &'a str,
    options: &'a Vec<String>,
    range: &'a str,
    difficulty: &'a str,
    typus: &'a str,
    enforced: &'a str,
    effect: &'a str,
    duration_of_effect: &'a str,
    cost: &'a str,
    schools_id: &'a i32
) -> Spell