pub struct WizformDBModel {Show 20 fields
pub id: Uuid,
pub book_id: Uuid,
pub game_id: String,
pub element: WizformElementType,
pub magics: Json<Magics>,
pub number: i16,
pub hitpoints: i16,
pub agility: i16,
pub jump_ability: i16,
pub precision: i16,
pub evolution_form: i16,
pub evolution_level: i16,
pub exp_modifier: i16,
pub enabled: bool,
pub filters: Json<Filters>,
pub description: String,
pub icon64: String,
pub spawn_points: Json<SpawnPoints>,
pub name: Vec<u8>,
pub cleared_name: String,
}Fields§
§id: Uuid§book_id: Uuid§game_id: String§element: WizformElementType§magics: Json<Magics>§number: i16§hitpoints: i16§agility: i16§jump_ability: i16§precision: i16§evolution_form: i16§evolution_level: i16§exp_modifier: i16§enabled: bool§filters: Json<Filters>§description: String§icon64: String§spawn_points: Json<SpawnPoints>§name: Vec<u8>§cleared_name: StringTrait 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>,
Uuid: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
WizformElementType: Decode<'a, R::Database> + Type<R::Database>,
Json<Magics>: Decode<'a, R::Database> + Type<R::Database>,
i16: Decode<'a, R::Database> + Type<R::Database>,
bool: Decode<'a, R::Database> + Type<R::Database>,
Json<Filters>: Decode<'a, R::Database> + Type<R::Database>,
Json<SpawnPoints>: Decode<'a, R::Database> + Type<R::Database>,
Vec<u8>: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for WizformDBModelwhere
&'a str: ColumnIndex<R>,
Uuid: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
WizformElementType: Decode<'a, R::Database> + Type<R::Database>,
Json<Magics>: Decode<'a, R::Database> + Type<R::Database>,
i16: Decode<'a, R::Database> + Type<R::Database>,
bool: Decode<'a, R::Database> + Type<R::Database>,
Json<Filters>: Decode<'a, R::Database> + Type<R::Database>,
Json<SpawnPoints>: Decode<'a, R::Database> + Type<R::Database>,
Vec<u8>: 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 UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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