pub struct AdminGameInfo {
pub game_id: String,
pub state: GameState,
pub created_at: DateTime<Utc>,
pub players: Vec<i64>,
}Expand description
Admin game info (for admin panel).
Fields§
§game_id: String§state: GameState§created_at: DateTime<Utc>§players: Vec<i64>Trait Implementations§
Source§impl Clone for AdminGameInfo
impl Clone for AdminGameInfo
Source§fn clone(&self) -> AdminGameInfo
fn clone(&self) -> AdminGameInfo
Returns a duplicate 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 AdminGameInfo
impl Debug for AdminGameInfo
Source§impl<'de> Deserialize<'de> for AdminGameInfo
impl<'de> Deserialize<'de> for AdminGameInfo
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
Auto Trait Implementations§
impl Freeze for AdminGameInfo
impl RefUnwindSafe for AdminGameInfo
impl Send for AdminGameInfo
impl Sync for AdminGameInfo
impl Unpin for AdminGameInfo
impl UnwindSafe for AdminGameInfo
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