Struct musicbrainz_rs::FetchQuery
source · pub struct FetchQuery<T>(_);
Expand description
perform a lookup of an entity when you have the MBID for that entity
Lookups
You can perform a lookup of an entity when you have the MBID for that entity.
EXample
let nirvana = Artist::fetch()
.id("5b11f4ce-a62d-471e-81fc-a69a8278c7da")
.execute()
.await;
assert_eq!(nirvana?.name, "Nirvana".to_string());
let nirvana = Artist::fetch()
.id("5b11f4ce-a62d-471e-81fc-a69a8278c7da")
.execute();
assert_eq!(nirvana?.name, "Nirvana".to_string());
Implementations§
source§impl FetchQuery<Area>
impl FetchQuery<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 FetchQuery<Artist>
impl FetchQuery<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 FetchQuery<Event>
impl FetchQuery<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 FetchQuery<Instrument>
impl FetchQuery<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 FetchQuery<Label>
impl FetchQuery<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 FetchQuery<Place>
impl FetchQuery<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 FetchQuery<Recording>
impl FetchQuery<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 FetchQuery<Release>
impl FetchQuery<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 FetchQuery<ReleaseGroup>
impl FetchQuery<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 FetchQuery<Series>
impl FetchQuery<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 FetchQuery<Url>
impl FetchQuery<Url>
pub fn with_artist_relations(&mut self) -> &mut Self
pub fn with_url_relations(&mut self) -> &mut Self
source§impl FetchQuery<Work>
impl FetchQuery<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 FetchQuery<T>
impl<T: Clone> Clone for FetchQuery<T>
source§fn clone(&self) -> FetchQuery<T>
fn clone(&self) -> FetchQuery<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