[][src]Struct modio::games::GameRef

pub struct GameRef { /* fields omitted */ }

Reference interface of a game.

Implementations

impl GameRef[src]

pub async fn get(self) -> Result<Game>[src]

Get a reference to the Modio game object that this GameRef refers to.

pub fn mod_(&self, mod_id: u32) -> ModRef[src]

Return a reference to a mod of a game.

pub fn mods(&self) -> Mods[src]

Return a reference to an interface that provides access to the mods of a game.

pub async fn statistics(self) -> Result<Statistics>[src]

Return the statistics for a game.

pub fn tags(&self) -> Tags[src]

Return a reference to an interface that provides access to the tags of a game.

pub async fn edit(self, options: EditGameOptions) -> Result<Editing<Game>>[src]

Edit details for a game. [required: token]

pub async fn edit_media(self, media: EditMediaOptions) -> Result<()>[src]

Add new media to a game. [required: token]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.