[][src]Struct modio::mods::Mods

pub struct Mods { /* fields omitted */ }

Interface for mods of a game.

Implementations

impl Mods[src]

pub fn search(&self, filter: Filter) -> Query<Mod>[src]

Returns a Query interface to retrieve mods.

See Filters and sorting.

pub fn get(&self, id: u32) -> ModRef[src]

Return a reference to a mod.

pub async fn add(self, options: AddModOptions) -> Result<Mod>[src]

Add a mod and return the newly created Modio mod object. [required: token]

pub fn statistics(self, filter: Filter) -> Query<Statistics>[src]

Returns a Query interface to retrieve the statistics for all mods of a game.

See Filters and sorting.

pub fn events(self, filter: Filter) -> Query<Event>[src]

Returns a Query interface to retrieve the event log of all mods of the game sorted by latest event first.

See Filters and sorting.

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.