pub struct Game<'a> {Show 17 fields
pub id: GameId<'a>,
pub names: Names,
pub abbreviation: String,
pub weblink: String,
pub release_date: String,
pub ruleset: Ruleset,
pub gametypes: Vec<GameTypeId<'a>>,
pub platforms: Vec<PlatformId<'a>>,
pub regions: Vec<RegionId<'a>>,
pub genres: Vec<GenreId<'a>>,
pub engines: Vec<EngineId<'a>>,
pub developers: Vec<DeveloperId<'a>>,
pub publishers: Vec<PublisherId<'a>>,
pub moderators: HashMap<UserId<'a>, ModeratorRole>,
pub created: Option<String>,
pub assets: Assets,
pub links: Vec<Link>,
}Fields§
§id: GameId<'a>§names: Names§abbreviation: String§weblink: String§release_date: String§ruleset: Ruleset§gametypes: Vec<GameTypeId<'a>>§platforms: Vec<PlatformId<'a>>§regions: Vec<RegionId<'a>>§genres: Vec<GenreId<'a>>§engines: Vec<EngineId<'a>>§developers: Vec<DeveloperId<'a>>§publishers: Vec<PublisherId<'a>>§moderators: HashMap<UserId<'a>, ModeratorRole>§created: Option<String>§assets: Assets§links: Vec<Link>Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for Game<'a>
impl<'de, 'a> Deserialize<'de> for Game<'a>
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<'a> StructuralPartialEq for Game<'a>
Auto Trait Implementations§
impl<'a> Freeze for Game<'a>
impl<'a> RefUnwindSafe for Game<'a>
impl<'a> Send for Game<'a>
impl<'a> Sync for Game<'a>
impl<'a> Unpin for Game<'a>
impl<'a> UnwindSafe for Game<'a>
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