pub struct BeatmapsetExtended {Show 37 fields
pub artist: String,
pub artist_unicode: Option<String>,
pub availability: BeatmapsetAvailability,
pub bpm: f32,
pub can_be_hyped: bool,
pub converts: Option<Vec<BeatmapExtended>>,
pub covers: BeatmapsetCovers,
pub creator: Option<Box<User>>,
pub creator_name: Username,
pub creator_id: u32,
pub description: Option<String>,
pub discussion_enabled: bool,
pub discussion_locked: bool,
pub favourite_count: u32,
pub genre: Option<Genre>,
pub hype: Option<BeatmapsetHype>,
pub is_scoreable: bool,
pub language: Option<Language>,
pub last_updated: OffsetDateTime,
pub legacy_thread_url: Option<String>,
pub maps: Option<Vec<BeatmapExtended>>,
pub mapset_id: u32,
pub nominations_summary: BeatmapsetNominations,
pub nsfw: bool,
pub playcount: u32,
pub preview_url: String,
pub ratings: Option<Vec<u32>>,
pub ranked_date: Option<OffsetDateTime>,
pub recent_favourites: Option<Vec<User>>,
pub source: String,
pub status: RankStatus,
pub storyboard: bool,
pub submitted_date: Option<OffsetDateTime>,
pub tags: String,
pub title: String,
pub title_unicode: Option<String>,
pub video: bool,
}Expand description
Represents a beatmapset. This extends Beatmapset with additional attributes.
Fields§
§artist: String§artist_unicode: Option<String>§availability: BeatmapsetAvailability§bpm: f32§can_be_hyped: bool§converts: Option<Vec<BeatmapExtended>>Each difficulty’s converted map for each mode
covers: BeatmapsetCovers§creator: Option<Box<User>>Username of the mapper at the time of beatmapset creation
creator_name: Username§creator_id: u32§description: Option<String>§discussion_enabled: bool§discussion_locked: bool§favourite_count: u32§genre: Option<Genre>§hype: Option<BeatmapsetHype>§is_scoreable: bool§language: Option<Language>§last_updated: OffsetDateTime§legacy_thread_url: Option<String>Full URL, i.e. https://osu.ppy.sh/community/forums/topics/{thread_id}
maps: Option<Vec<BeatmapExtended>>§mapset_id: u32§nominations_summary: BeatmapsetNominations§nsfw: bool§playcount: u32§preview_url: StringFull URL, i.e. b.ppy.sh/preview/{mapset_id}.mp3
ratings: Option<Vec<u32>>§ranked_date: Option<OffsetDateTime>§recent_favourites: Option<Vec<User>>§source: String§status: RankStatus§storyboard: bool§submitted_date: Option<OffsetDateTime>§title: String§title_unicode: Option<String>§video: boolImplementations§
Source§impl BeatmapsetExtended
impl BeatmapsetExtended
pub fn get_creator<'o>(&self, osu: &'o Osu) -> GetUser<'o>
Trait Implementations§
Source§impl Clone for BeatmapsetExtended
impl Clone for BeatmapsetExtended
Source§fn clone(&self) -> BeatmapsetExtended
fn clone(&self) -> BeatmapsetExtended
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BeatmapsetExtended
impl Debug for BeatmapsetExtended
Source§impl<'de> Deserialize<'de> for BeatmapsetExtended
impl<'de> Deserialize<'de> for BeatmapsetExtended
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<BeatmapsetExtended> for Beatmapset
impl From<BeatmapsetExtended> for Beatmapset
Source§fn from(mapset: BeatmapsetExtended) -> Self
fn from(mapset: BeatmapsetExtended) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BeatmapsetExtended
impl PartialEq for BeatmapsetExtended
Source§impl Serialize for BeatmapsetExtended
impl Serialize for BeatmapsetExtended
impl Eq for BeatmapsetExtended
Auto Trait Implementations§
impl Freeze for BeatmapsetExtended
impl RefUnwindSafe for BeatmapsetExtended
impl Send for BeatmapsetExtended
impl Sync for BeatmapsetExtended
impl Unpin for BeatmapsetExtended
impl UnwindSafe for BeatmapsetExtended
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.