pub struct BeatmapPack {
pub author: String,
pub date: String,
pub name: String,
pub no_diff_reduction: bool,
pub ruleset_id: Option<u32>,
pub tag: String,
pub url: String,
pub beatmapsets: Option<Vec<Beatmapset>>,
pub user_completion_data: Option<UserCompletionData>,
}Fields§
The author of the beatmap pack.
date: StringThe date of the beatmap pack.
name: StringThe name of the beatmap pack.
no_diff_reduction: boolWhether difficulty reduction mods may be used to clear the pack.
ruleset_id: Option<u32>The ruleset ID of the beatmap pack.
tag: StringThe tag of the beatmap pack. Starts with a character representing the type (See the Tag column of BeatmapPackType) followed by an integer.
url: StringThe download URL of the beatmap pack.
beatmapsets: Option<Vec<Beatmapset>>The beatmapsets of the beatmap pack.
user_completion_data: Option<UserCompletionData>The user completion data of the beatmap pack.
Trait Implementations§
Source§impl Clone for BeatmapPack
impl Clone for BeatmapPack
Source§fn clone(&self) -> BeatmapPack
fn clone(&self) -> BeatmapPack
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BeatmapPack
impl Debug for BeatmapPack
Source§impl<'de> Deserialize<'de> for BeatmapPack
impl<'de> Deserialize<'de> for BeatmapPack
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 PartialEq for BeatmapPack
impl PartialEq for BeatmapPack
Source§fn eq(&self, other: &BeatmapPack) -> bool
fn eq(&self, other: &BeatmapPack) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BeatmapPack
impl Serialize for BeatmapPack
impl StructuralPartialEq for BeatmapPack
Auto Trait Implementations§
impl Freeze for BeatmapPack
impl RefUnwindSafe for BeatmapPack
impl Send for BeatmapPack
impl Sync for BeatmapPack
impl Unpin for BeatmapPack
impl UnsafeUnpin for BeatmapPack
impl UnwindSafe for BeatmapPack
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