[−][src]Struct modio::games::GameRef
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
impl !RefUnwindSafe for GameRef
[src]
impl Send for GameRef
[src]
impl Sync for GameRef
[src]
impl Unpin for GameRef
[src]
impl !UnwindSafe for GameRef
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,