use musicbrainz_rs::entity::label::*; use musicbrainz_rs::Search; #[tokio::test] async fn should_search_label() { let query = LabelSearchQuery::query_builder() .label("Abbey Road Studios") .build(); let result = Label::search(query).execute().await.unwrap(); assert!(result .entities .iter() .any(|label| label.label_type.as_ref().unwrap() == &LabelType::Production)); }