Struct etwin_core::dinoparc::ArchivedDinoparcUser
source · pub struct ArchivedDinoparcUser {
pub server: DinoparcServer,
pub id: DinoparcUserId,
pub archived_at: Instant,
pub username: DinoparcUsername,
pub coins: Option<LatestTemporal<u32>>,
pub dinoz: Option<LatestTemporal<Vec<DinoparcDinozIdRef>>>,
pub inventory: Option<LatestTemporal<HashMap<DinoparcItemId, u32>>>,
pub collection: Option<LatestTemporal<DinoparcCollection>>,
}
Fields§
§server: DinoparcServer
§id: DinoparcUserId
§archived_at: Instant
§username: DinoparcUsername
§coins: Option<LatestTemporal<u32>>
§dinoz: Option<LatestTemporal<Vec<DinoparcDinozIdRef>>>
§inventory: Option<LatestTemporal<HashMap<DinoparcItemId, u32>>>
§collection: Option<LatestTemporal<DinoparcCollection>>
Trait Implementations§
source§impl Clone for ArchivedDinoparcUser
impl Clone for ArchivedDinoparcUser
source§fn clone(&self) -> ArchivedDinoparcUser
fn clone(&self) -> ArchivedDinoparcUser
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ArchivedDinoparcUser
impl Debug for ArchivedDinoparcUser
source§impl PartialEq<ArchivedDinoparcUser> for ArchivedDinoparcUser
impl PartialEq<ArchivedDinoparcUser> for ArchivedDinoparcUser
source§fn eq(&self, other: &ArchivedDinoparcUser) -> bool
fn eq(&self, other: &ArchivedDinoparcUser) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.