pub struct Gamepass {
pub id: u64,
pub name: String,
pub description: String,
pub icon_image_id: Option<u64>,
pub price: Option<u64>,
pub on_sale: bool,
pub creator: GamepassCreator,
}Fields§
§id: u64§name: String§description: String§icon_image_id: Option<u64>§price: Option<u64>§on_sale: bool§creator: GamepassCreatorTrait Implementations§
Source§impl<'de> Deserialize<'de> for Gamepass
impl<'de> Deserialize<'de> for Gamepass
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 Gamepass
impl StructuralPartialEq for Gamepass
Auto Trait Implementations§
impl Freeze for Gamepass
impl RefUnwindSafe for Gamepass
impl Send for Gamepass
impl Sync for Gamepass
impl Unpin for Gamepass
impl UnsafeUnpin for Gamepass
impl UnwindSafe for Gamepass
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