pub struct Game {
pub id: u64,
pub name: String,
pub description: Option<String>,
pub creator: GameCreator,
pub root_place: GameRootPlace,
pub created: DateTime,
pub updated: DateTime,
pub price: Option<u64>,
pub place_visits: u64,
}Fields§
§id: u64§name: String§description: Option<String>§creator: GameCreator§root_place: GameRootPlace§created: DateTime§updated: DateTime§price: Option<u64>§place_visits: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for Game
impl<'de> Deserialize<'de> for Game
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
impl Eq for Game
impl StructuralPartialEq for Game
Auto Trait Implementations§
impl Freeze for Game
impl RefUnwindSafe for Game
impl Send for Game
impl Sync for Game
impl Unpin for Game
impl UnwindSafe for Game
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