pub struct GameMod { /* private fields */ }Implementations§
Source§impl GameMod
impl GameMod
pub fn name(&self) -> &str
pub fn summary(&self) -> &str
pub fn description(&self) -> &str
pub const fn mod_picture(&self) -> &Url
pub const fn unique_downloads(&self) -> u64
pub const fn uid(&self) -> u64
pub const fn game_id(&self) -> u64
pub const fn allow_rating(&self) -> bool
pub fn domain_name(&self) -> &str
pub const fn category_id(&self) -> u64
pub fn version(&self) -> &str
pub const fn endorsements(&self) -> u64
pub const fn created_at(&self) -> UtcDateTime
pub const fn updated_at(&self) -> UtcDateTime
pub fn uploaded_by(&self) -> &str
pub const fn uploaded_by_profile_url(&self) -> &Url
pub const fn adult_content(&self) -> bool
pub const fn available(&self) -> bool
pub const fn endorsement(&self) -> &EndorsementInfo
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GameMod
impl<'de> Deserialize<'de> for GameMod
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
Auto Trait Implementations§
impl Freeze for GameMod
impl RefUnwindSafe for GameMod
impl Send for GameMod
impl Sync for GameMod
impl Unpin for GameMod
impl UnwindSafe for GameMod
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