use musicbrainz_rs_nova::entity::label::*; use musicbrainz_rs_nova::prelude::*; #[tokio::main(flavor = "current_thread")] async fn main() { let ninja_tune = Label::fetch() .id("dc940013-b8a8-4362-a465-291026c04b42") .with_tags() .with_ratings() .execute() .await .unwrap(); assert!(ninja_tune .tags .unwrap() .iter() .any(|tag| tag.name == "independent")); assert!(ninja_tune.rating.is_some()); }