DEVELOPMENT ENVIRONMENT

~liljamo/deck-builder

68248edee305ec52ca7a6e00f81a541fb18602c5 — Jonni Liljamo 1 year, 10 months ago 1519b7e
feat(sdbclient): allow clone for Game and UserPub
2 files changed, 2 insertions(+), 2 deletions(-)

M sdbclient/src/api/game/types.rs
M sdbclient/src/api/user/types.rs
M sdbclient/src/api/game/types.rs => sdbclient/src/api/game/types.rs +1 -1
@@ 10,7 10,7 @@ use serde::{Deserialize, Serialize};

use crate::api::user::types::UserPub;

#[derive(Debug, Serialize, Deserialize)]
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct Game {
    pub id: String,
    pub created_at: String,

M sdbclient/src/api/user/types.rs => sdbclient/src/api/user/types.rs +1 -1
@@ 8,7 8,7 @@

use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize)]
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct UserPub {
    pub id: String,
    pub created_at: String,