You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let player: schema::Player = txn.query_one(schema::Player::unique(player_id)).map(|row| row.into() ???? row.into_owned() ???? )
How to do this? Do I have to create a new user struct and map the resulting row somehow on to this struct? Is it possible to reuse the schema, def to return an owned player data? Do I have to use the dummy data type?