[−][src]Struct modio::mods::Mods
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
impl !RefUnwindSafe for Mods
[src]
impl Send for Mods
[src]
impl Sync for Mods
[src]
impl Unpin for Mods
[src]
impl !UnwindSafe for Mods
[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>,