pub struct GenreTag {
pub genre_id: Option<String>,
pub name: Option<String>,
pub slug: Option<String>,
}Expand description
Genre tag model containing information about a genre tag
This struct represents a genre tag with its genre ID, name, and slug.
§Examples
use qobuz_api_rust::models::GenreTag;
let genre_tag = GenreTag {
genre_id: Some("123".to_string()),
name: Some("Rock".to_string()),
slug: Some("rock".to_string()),
};Fields§
§genre_id: Option<String>ID of the associated genre
name: Option<String>Name of the genre tag
slug: Option<String>URL-friendly slug for the genre tag
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GenreTag
impl<'de> Deserialize<'de> for GenreTag
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GenreTag
impl RefUnwindSafe for GenreTag
impl Send for GenreTag
impl Sync for GenreTag
impl Unpin for GenreTag
impl UnwindSafe for GenreTag
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