Module femtorinth::data_structures[][src]

Expand description

Module containing all data structures and their methods.

Structs

Donation link for a mod.

The bigger way to represent a license.

The most useful struct, probably, represents a specific mod in its entirety.

A simple tuple struct to represent a modrinth Mod ID

This is the struct returned by the search api call as a vector in the other ModSearchResults struct.

A Struct representing the results for a modrinth search api call.

A user struct representing a modrinth user.

A simple tuple struct to represent a modrinth User ID

A full struct representing a version of the mod.

A struct containing the hashes for a file in a mod’s specific version.

A simple tuple struct to represent a modrinth Version ID

Enums

The main error enum used by the whole femtorinth crate.

Hosts, this enum is literally pointless right now, don’t concern yourself with anything relating to this.

Release stage of the mod.

Requirement of the mod on client-side/server-side, convenience enum.

The mod’s status, quite self-explanatory.

Convenience enum to control sorting while searching

A user’s role on modrinth, have a look at the User struct.

Constants

The modrinth api prefix