Struct musicbrainz_rs::BrowseQuery
source · pub struct BrowseQuery<T> { /* private fields */ }
Expand description
Direct lookup of all the entities directly linked to another entity
Browse
Browse requests are a direct lookup of all the entities directly linked to another entity (“directly linked” here meaning it does not include entities linked by a relationship).
Example
let ubiktune_releases = Release::browse()
.by_label("47e718e1-7ee4-460c-b1cc-1192a841c6e5")
.execute()
.await;
assert!(!ubiktune_releases?.entities.is_empty());
let ubiktune_releases = Release::browse()
.by_label("47e718e1-7ee4-460c-b1cc-1192a841c6e5")
.execute();
assert!(!ubiktune_releases?.entities.is_empty());
Implementations§
source§impl BrowseQuery<Area>
impl BrowseQuery<Area>
pub fn by_collection(&mut self, id: &str) -> &mut Self
source§impl BrowseQuery<Area>
impl BrowseQuery<Area>
pub fn with_area_relations(&mut self) -> &mut Self
pub fn with_event_relations(&mut self) -> &mut Self
pub fn with_recording_relations(&mut self) -> &mut Self
pub fn with_release_relations(&mut self) -> &mut Self
pub fn with_url_relations(&mut self) -> &mut Self
pub fn with_work_relations(&mut self) -> &mut Self
pub fn with_aliases(&mut self) -> &mut Self
pub fn with_genres(&mut self) -> &mut Self
pub fn with_annotations(&mut self) -> &mut Self
source§impl BrowseQuery<Artist>
impl BrowseQuery<Artist>
pub fn by_area(&mut self, id: &str) -> &mut Self
pub fn by_collection(&mut self, id: &str) -> &mut Self
pub fn by_recording(&mut self, id: &str) -> &mut Self
pub fn by_release(&mut self, id: &str) -> &mut Self
pub fn by_release_group(&mut self, id: &str) -> &mut Self
pub fn by_work(&mut self, id: &str) -> &mut Self
source§impl BrowseQuery<Artist>
impl BrowseQuery<Artist>
pub fn with_recordings(&mut self) -> &mut Self
pub fn with_releases(&mut self) -> &mut Self
pub fn with_releases_and_discids(&mut self) -> &mut Self
pub fn with_release_groups(&mut self) -> &mut Self
pub fn with_aliases(&mut self) -> &mut Self
pub fn with_works(&mut self) -> &mut Self
pub fn with_artist_relations(&mut self) -> &mut Self
pub fn with_event_relations(&mut self) -> &mut Self
pub fn with_url_relations(&mut self) -> &mut Self
pub fn with_work_relations(&mut self) -> &mut Self
pub fn with_recording_relations(&mut self) -> &mut Self
pub fn with_release_relations(&mut self) -> &mut Self
pub fn with_series_relations(&mut self) -> &mut Self
pub fn with_rating(&mut self) -> &mut Self
pub fn with_genres(&mut self) -> &mut Self
pub fn with_annotations(&mut self) -> &mut Self
source§impl BrowseQuery<Event>
impl BrowseQuery<Event>
source§impl BrowseQuery<Event>
impl BrowseQuery<Event>
pub fn with_artist_relations(&mut self) -> &mut Self
pub fn with_place_relations(&mut self) -> &mut Self
pub fn with_series_relations(&mut self) -> &mut Self
pub fn with_url_relations(&mut self) -> &mut Self
pub fn with_aliases(&mut self) -> &mut Self
pub fn with_ratings(&mut self) -> &mut Self
pub fn with_genres(&mut self) -> &mut Self
pub fn with_annotations(&mut self) -> &mut Self
source§impl BrowseQuery<Instrument>
impl BrowseQuery<Instrument>
pub fn by_collection(&mut self, id: &str) -> &mut Self
source§impl BrowseQuery<Instrument>
impl BrowseQuery<Instrument>
pub fn with_url_relations(&mut self) -> &mut Self
pub fn with_aliases(&mut self) -> &mut Self
pub fn with_genres(&mut self) -> &mut Self
pub fn with_annotations(&mut self) -> &mut Self
source§impl BrowseQuery<Label>
impl BrowseQuery<Label>
source§impl BrowseQuery<Label>
impl BrowseQuery<Label>
pub fn with_artist_relations(&mut self) -> &mut Self
pub fn with_label_relations(&mut self) -> &mut Self
pub fn with_recording_relations(&mut self) -> &mut Self
pub fn with_release_relations(&mut self) -> &mut Self
pub fn with_url_relations(&mut self) -> &mut Self
pub fn with_releases(&mut self) -> &mut Self
pub fn with_aliases(&mut self) -> &mut Self
pub fn with_ratings(&mut self) -> &mut Self
pub fn with_genres(&mut self) -> &mut Self
pub fn with_annotations(&mut self) -> &mut Self
source§impl BrowseQuery<Place>
impl BrowseQuery<Place>
source§impl BrowseQuery<Place>
impl BrowseQuery<Place>
pub fn with_event_relations(&mut self) -> &mut Self
pub fn with_recording_relations(&mut self) -> &mut Self
pub fn with_release_relations(&mut self) -> &mut Self
pub fn with_aliases(&mut self) -> &mut Self
pub fn with_genres(&mut self) -> &mut Self
pub fn with_annotations(&mut self) -> &mut Self
source§impl BrowseQuery<Recording>
impl BrowseQuery<Recording>
source§impl BrowseQuery<Recording>
impl BrowseQuery<Recording>
pub fn with_artists(&mut self) -> &mut Self
pub fn with_releases(&mut self) -> &mut Self
pub fn with_aliases(&mut self) -> &mut Self
pub fn with_genres(&mut self) -> &mut Self
pub fn with_ratings(&mut self) -> &mut Self
pub fn with_isrcs(&mut self) -> &mut Self
pub fn with_url_relations(&mut self) -> &mut Self
pub fn with_work_relations(&mut self) -> &mut Self
pub fn with_work_level_relations(&mut self) -> &mut Self
pub fn with_annotations(&mut self) -> &mut Self
source§impl BrowseQuery<Release>
impl BrowseQuery<Release>
pub fn by_area(&mut self, id: &str) -> &mut Self
pub fn by_artist(&mut self, id: &str) -> &mut Self
pub fn by_label(&mut self, id: &str) -> &mut Self
pub fn by_track(&mut self, id: &str) -> &mut Self
pub fn by_track_artist(&mut self, id: &str) -> &mut Self
pub fn by_recording(&mut self, id: &str) -> &mut Self
pub fn by_release_group(&mut self, id: &str) -> &mut Self
pub fn by_collection(&mut self, id: &str) -> &mut Self
source§impl BrowseQuery<Release>
impl BrowseQuery<Release>
pub fn with_artists(&mut self) -> &mut Self
pub fn with_labels(&mut self) -> &mut Self
pub fn with_artist_relations(&mut self) -> &mut Self
pub fn with_work_relations(&mut self) -> &mut Self
pub fn with_url_relations(&mut self) -> &mut Self
pub fn with_work_level_relations(&mut self) -> &mut Self
pub fn with_recording_level_relations(&mut self) -> &mut Self
pub fn with_recordings(&mut self) -> &mut Self
pub fn with_release_groups(&mut self) -> &mut Self
pub fn with_ratings(&mut self) -> &mut Self
pub fn with_aliases(&mut self) -> &mut Self
pub fn with_genres(&mut self) -> &mut Self
pub fn with_annotations(&mut self) -> &mut Self
pub fn with_artist_credits(&mut self) -> &mut Self
source§impl BrowseQuery<ReleaseGroup>
impl BrowseQuery<ReleaseGroup>
pub fn with_release_group_relations(&mut self) -> &mut Self
pub fn with_series_relations(&mut self) -> &mut Self
pub fn with_url_relations(&mut self) -> &mut Self
pub fn with_artists(&mut self) -> &mut Self
pub fn with_releases(&mut self) -> &mut Self
pub fn with_aliases(&mut self) -> &mut Self
pub fn with_genres(&mut self) -> &mut Self
pub fn with_ratings(&mut self) -> &mut Self
pub fn with_annotations(&mut self) -> &mut Self
source§impl BrowseQuery<Series>
impl BrowseQuery<Series>
pub fn by_collection(&mut self, id: &str) -> &mut Self
source§impl BrowseQuery<Series>
impl BrowseQuery<Series>
pub fn with_artist_relations(&mut self) -> &mut Self
pub fn with_release_group_relations(&mut self) -> &mut Self
pub fn with_aliases(&mut self) -> &mut Self
pub fn with_genres(&mut self) -> &mut Self
pub fn with_annotations(&mut self) -> &mut Self
source§impl BrowseQuery<Url>
impl BrowseQuery<Url>
pub fn with_artist_relations(&mut self) -> &mut Self
pub fn with_url_relations(&mut self) -> &mut Self
source§impl BrowseQuery<Work>
impl BrowseQuery<Work>
source§impl BrowseQuery<Work>
impl BrowseQuery<Work>
pub fn with_artist_relations(&mut self) -> &mut Self
pub fn with_label_relations(&mut self) -> &mut Self
pub fn with_recording_relations(&mut self) -> &mut Self
pub fn with_url_relations(&mut self) -> &mut Self
pub fn with_work_relations(&mut self) -> &mut Self
pub fn with_ratings(&mut self) -> &mut Self
pub fn with_aliases(&mut self) -> &mut Self
pub fn with_genres(&mut self) -> &mut Self
pub fn with_annotations(&mut self) -> &mut Self
Trait Implementations§
source§impl<T: Clone> Clone for BrowseQuery<T>
impl<T: Clone> Clone for BrowseQuery<T>
source§fn clone(&self) -> BrowseQuery<T>
fn clone(&self) -> BrowseQuery<T>
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 more