pub struct Mods { /* private fields */ }
Expand description
Interface for mods of a game.
Implementations§
source§impl Mods
impl Mods
sourcepub fn search(&self, filter: Filter) -> Query<Mod>
pub fn search(&self, filter: Filter) -> Query<Mod>
Returns a Query
interface to retrieve mods.
See Filters and sorting.
sourcepub async fn add(self, options: AddModOptions) -> Result<Mod>
pub async fn add(self, options: AddModOptions) -> Result<Mod>
Add a mod and return the newly created Modio mod object. [required: token]
sourcepub fn statistics(self, filter: Filter) -> Query<Statistics>
pub fn statistics(self, filter: Filter) -> Query<Statistics>
Returns a Query
interface to retrieve the statistics for all mods of a game.
See Filters and sorting.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Mods
impl !RefUnwindSafe for Mods
impl Send for Mods
impl Sync for Mods
impl Unpin for Mods
impl !UnwindSafe for Mods
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