pub struct GameCategory {
pub id: u64,
pub name: String,
}Expand description
A game accessory with minimal information, only the name and ID.
More information can be retrieved from the accessory endpoint.
Fields§
§id: u64The ID of the game.
name: StringThe name of the game.
Trait Implementations§
Source§impl Clone for GameCategory
impl Clone for GameCategory
Source§fn clone(&self) -> GameCategory
fn clone(&self) -> GameCategory
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 GameCategory
impl Debug for GameCategory
Source§impl<'de> Deserialize<'de> for GameCategory
impl<'de> Deserialize<'de> for GameCategory
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 PartialEq for GameCategory
impl PartialEq for GameCategory
impl StructuralPartialEq for GameCategory
Auto Trait Implementations§
impl Freeze for GameCategory
impl RefUnwindSafe for GameCategory
impl Send for GameCategory
impl Sync for GameCategory
impl Unpin for GameCategory
impl UnwindSafe for GameCategory
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