pub struct Me { /* private fields */ }
Expand description
Interface for resources owned by the authenticated user or is team member of.
Implementations§
source§impl Me
impl Me
sourcepub fn games(&self, filter: Filter) -> Query<Game>
pub fn games(&self, filter: Filter) -> Query<Game>
Returns a Query
interface to retrieve all games the authenticated user added or
is team member of. [required: token]
See Filters and sorting.
sourcepub fn mods(&self, filter: Filter) -> Query<Mod>
pub fn mods(&self, filter: Filter) -> Query<Mod>
Returns a Query
interface to retrieve all mods the authenticated user added or
is team member of. [required: token]
See Filters and sorting.
sourcepub fn files(&self, filter: Filter) -> Query<File>
pub fn files(&self, filter: Filter) -> Query<File>
Returns a Query
interface to retrieve all modfiles the authenticated user uploaded.
[required: token]
See Filters and sorting.
sourcepub fn events(self, filter: Filter) -> Query<Event>
pub fn events(self, filter: Filter) -> Query<Event>
Returns a Query
interface to retrieve the events that have been fired specific to the
authenticated user. [required: token]
See Filters and sorting.
sourcepub fn subscriptions(self, filter: Filter) -> Query<Mod>
pub fn subscriptions(self, filter: Filter) -> Query<Mod>
Returns a Query
interface to retrieve the mods the authenticated user is subscribed to.
[required: token]
See Filters and sorting.
sourcepub fn ratings(self, filter: Filter) -> Query<Rating>
pub fn ratings(self, filter: Filter) -> Query<Rating>
Returns a Query
interface to retrieve the mod ratings submitted by the authenticated user.
[required: token]
See Filters and sorting.
sourcepub fn muted_users(self) -> Query<User>
pub fn muted_users(self) -> Query<User>
Get all users muted by the authenticated user. [required: token]
sourcepub async fn mute_user(self, user_id: UserId) -> Result<()>
pub async fn mute_user(self, user_id: UserId) -> Result<()>
Mute a user. [required: token]
This will prevent mod.io from returning mods authored by the muted user.
sourcepub async fn unmute_user(self, user_id: UserId) -> Result<()>
pub async fn unmute_user(self, user_id: UserId) -> Result<()>
Unmute a previously muted user. [required: token]
This will re-enable mod.io return mods authored by the muted user again.