Struct rosu_v2::model::beatmap::BeatmapsetSearchResult
source · pub struct BeatmapsetSearchResult {
pub mapsets: Vec<Beatmapset>,
pub total: u32,
/* private fields */
}
Fields§
§mapsets: Vec<Beatmapset>
All mapsets of the current page
total: u32
Total amount of mapsets that fit the search query
Implementations§
Trait Implementations§
source§impl Clone for BeatmapsetSearchResult
impl Clone for BeatmapsetSearchResult
source§fn clone(&self) -> BeatmapsetSearchResult
fn clone(&self) -> BeatmapsetSearchResult
Returns a copy 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 BeatmapsetSearchResult
impl Debug for BeatmapsetSearchResult
source§impl<'de> Deserialize<'de> for BeatmapsetSearchResult
impl<'de> Deserialize<'de> for BeatmapsetSearchResult
source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<BeatmapsetSearchResult> for BeatmapsetSearchResult
impl PartialEq<BeatmapsetSearchResult> for BeatmapsetSearchResult
source§fn eq(&self, other: &BeatmapsetSearchResult) -> bool
fn eq(&self, other: &BeatmapsetSearchResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BeatmapsetSearchResult
impl StructuralEq for BeatmapsetSearchResult
impl StructuralPartialEq for BeatmapsetSearchResult
Auto Trait Implementations§
impl RefUnwindSafe for BeatmapsetSearchResult
impl Send for BeatmapsetSearchResult
impl Sync for BeatmapsetSearchResult
impl Unpin for BeatmapsetSearchResult
impl UnwindSafe for BeatmapsetSearchResult
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.