Struct zz_data::core::wizform::WizformDBModel
source · pub struct WizformDBModel {Show 16 fields
pub id: String,
pub book_id: String,
pub game_id: String,
pub name: String,
pub element: WizformElementType,
pub magics: String,
pub number: i16,
pub hitpoints: i32,
pub agility: i32,
pub jump_ability: i32,
pub precision: i32,
pub evolution_form: i32,
pub evolution_level: i32,
pub exp_modifier: i32,
pub enabled: bool,
pub filters: Vec<i32>,
}Fields§
§id: String§book_id: String§game_id: String§name: String§element: WizformElementType§magics: String§number: i16§hitpoints: i32§agility: i32§jump_ability: i32§precision: i32§evolution_form: i32§evolution_level: i32§exp_modifier: i32§enabled: bool§filters: Vec<i32>Trait Implementations§
source§impl Debug for WizformDBModel
impl Debug for WizformDBModel
source§impl<'de> Deserialize<'de> for WizformDBModel
impl<'de> Deserialize<'de> for WizformDBModel
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<'a, R: Row> FromRow<'a, R> for WizformDBModelwhere
&'a str: ColumnIndex<R>,
String: Decode<'a, R::Database> + Type<R::Database>,
WizformElementType: Decode<'a, R::Database> + Type<R::Database>,
i16: Decode<'a, R::Database> + Type<R::Database>,
i32: Decode<'a, R::Database> + Type<R::Database>,
bool: Decode<'a, R::Database> + Type<R::Database>,
Vec<i32>: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for WizformDBModelwhere
&'a str: ColumnIndex<R>,
String: Decode<'a, R::Database> + Type<R::Database>,
WizformElementType: Decode<'a, R::Database> + Type<R::Database>,
i16: Decode<'a, R::Database> + Type<R::Database>,
i32: Decode<'a, R::Database> + Type<R::Database>,
bool: Decode<'a, R::Database> + Type<R::Database>,
Vec<i32>: Decode<'a, R::Database> + Type<R::Database>,
Auto Trait Implementations§
impl Freeze for WizformDBModel
impl RefUnwindSafe for WizformDBModel
impl Send for WizformDBModel
impl Sync for WizformDBModel
impl Unpin for WizformDBModel
impl UnwindSafe for WizformDBModel
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more