pub struct DbPhase {Show 13 fields
pub uuid: Uuid,
pub owner_uuid: Uuid,
pub parent_uuid: Uuid,
pub name: String,
pub count: i32,
pub time: i64,
pub hunt_type: Hunttype,
pub has_charm: bool,
pub dexnav_encounters: Option<i32>,
pub success: bool,
pub created_at: NaiveDateTime,
pub last_edit: NaiveDateTime,
pub is_deleted: bool,
}
Fields§
§uuid: Uuid
§owner_uuid: Uuid
§parent_uuid: Uuid
§name: String
§count: i32
§time: i64
§hunt_type: Hunttype
§has_charm: bool
§success: bool
§created_at: NaiveDateTime
§last_edit: NaiveDateTime
§is_deleted: bool
Trait Implementations§
Source§impl<'a, R: Row> FromRow<'a, R> for DbPhasewhere
&'a str: ColumnIndex<R>,
Uuid: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
i32: Decode<'a, R::Database> + Type<R::Database>,
i64: Decode<'a, R::Database> + Type<R::Database>,
Hunttype: Decode<'a, R::Database> + Type<R::Database>,
bool: Decode<'a, R::Database> + Type<R::Database>,
Option<i32>: Decode<'a, R::Database> + Type<R::Database>,
NaiveDateTime: Decode<'a, R::Database> + Type<R::Database>,
impl<'a, R: Row> FromRow<'a, R> for DbPhasewhere
&'a str: ColumnIndex<R>,
Uuid: Decode<'a, R::Database> + Type<R::Database>,
String: Decode<'a, R::Database> + Type<R::Database>,
i32: Decode<'a, R::Database> + Type<R::Database>,
i64: Decode<'a, R::Database> + Type<R::Database>,
Hunttype: Decode<'a, R::Database> + Type<R::Database>,
bool: Decode<'a, R::Database> + Type<R::Database>,
Option<i32>: Decode<'a, R::Database> + Type<R::Database>,
NaiveDateTime: Decode<'a, R::Database> + Type<R::Database>,
Auto Trait Implementations§
impl Freeze for DbPhase
impl RefUnwindSafe for DbPhase
impl Send for DbPhase
impl Sync for DbPhase
impl Unpin for DbPhase
impl UnwindSafe for DbPhase
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