Struct lib_mal::MALClient[][src]

pub struct MALClient {
    pub need_auth: bool,
    // some fields omitted
}

Fields

need_auth: bool

Implementations

Gets a list of anime based on the query string provided limit defaults to 100 if None

Gets the deatils for an anime by the show’s ID. Only returns the fields specified in the fields parameter

Returns all fields when supplied None

Gets a list of anime ranked by RankingType

limit defaults to the max of 100 when None

Gets the anime for a given season in a given year

limit defaults to the max of 100 when None

Returns the suggested anime for the current user. Can return an empty list if the user has no suggestions.

Adds an anime to the list, or updates the element if it already exists

Returns the user’s full anime list as an AnimeList struct. If the request fails for any reason, an Err object with a string describing the error is returned instead

Deletes the anime with id from the user’s anime list

Returns 404 if the id isn’t in the list.

Returns a vector of HashMaps that represent all the forum boards on MAL

Gets the details for the current user

fields defaults to anime_statistics if None

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.