[−][src]Struct splitterrust_db::models::spell::NewSpell
Fields
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
Trait Implementations
impl<'a> Debug for NewSpell<'a>
[src]
impl<'a, 'insert> Insertable<table> for NewSpell<'a>
[src]
type Values = <(Option<Eq<name, &'a str>>, Option<Eq<cast_duration, &'a str>>, Option<Eq<options, &'a Vec<String>>>, Option<Eq<range, &'a str>>, Option<Eq<difficulty, &'a str>>, Option<Eq<typus, &'a str>>, Option<Eq<enforced, &'a str>>, Option<Eq<effect, &'a str>>, Option<Eq<duration_of_effect, &'a str>>, Option<Eq<cost, &'a str>>, Option<Eq<schools_id, &'a i32>>) as Insertable<table>>::Values
The VALUES
clause to insert these records Read more
fn values(self) -> Self::Values
[src]
fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
[src]
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
impl<'a, 'insert> Insertable<table> for &'insert NewSpell<'a>
[src]
type Values = <(Option<Eq<name, &'insert &'a str>>, Option<Eq<cast_duration, &'insert &'a str>>, Option<Eq<options, &'insert &'a Vec<String>>>, Option<Eq<range, &'insert &'a str>>, Option<Eq<difficulty, &'insert &'a str>>, Option<Eq<typus, &'insert &'a str>>, Option<Eq<enforced, &'insert &'a str>>, Option<Eq<effect, &'insert &'a str>>, Option<Eq<duration_of_effect, &'insert &'a str>>, Option<Eq<cost, &'insert &'a str>>, Option<Eq<schools_id, &'insert &'a i32>>) as Insertable<table>>::Values
The VALUES
clause to insert these records Read more
fn values(self) -> Self::Values
[src]
fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
[src]
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
impl<'a, 'insert> UndecoratedInsertRecord<table> for NewSpell<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for NewSpell<'a>
impl<'a> Send for NewSpell<'a>
impl<'a> Sync for NewSpell<'a>
impl<'a> Unpin for NewSpell<'a>
impl<'a> UnwindSafe for NewSpell<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoSql for T
[src]
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
[src]
Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]
&'a Self: AsExpression<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,