[][src]Module brawl_api::model::clubs

Models for the /clubs/:tag Brawl Stars API endpoint. Included by the feature "clubs"; removing that feature will disable the usage of this module.

Re-exports

pub use members::ClubMembers;

Modules

members

Contains the model for the /clubs/:tag/members endpoint, which simply retrieves a club's members without needing to get the rest of the data.

Structs

Club

A struct representing a Brawl Stars club, with all of its data. Use Club::fetch to fetch one based on tag.

ClubMember

A struct representing a Brawl Stars club's member, with its club-relevant data (most importantly, its role). Use Player::fetch_from to fetch the full player data.

Enums

ClubMemberRole

An enum representing a member's possible roles (See ClubMember).

ClubType

The type of club (whether it's open, invite-only, or closed).