pub struct GameType<'a> {
pub id: GameTypeId<'a>,
pub name: String,
pub allows_base_game: bool,
pub links: Vec<Link>,
}
Fields§
§id: GameTypeId<'a>
§name: String
§allows_base_game: bool
§links: Vec<Link>
Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for GameType<'a>
impl<'de, 'a> Deserialize<'de> for GameType<'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
Source§impl<'a> From<GameType<'a>> for GameTypeId<'a>
impl<'a> From<GameType<'a>> for GameTypeId<'a>
impl<'a> StructuralPartialEq for GameType<'a>
Auto Trait Implementations§
impl<'a> Freeze for GameType<'a>
impl<'a> RefUnwindSafe for GameType<'a>
impl<'a> Send for GameType<'a>
impl<'a> Sync for GameType<'a>
impl<'a> Unpin for GameType<'a>
impl<'a> UnwindSafe for GameType<'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