pub struct Goody {
pub id: Option<i32>,
pub title: Option<String>,
pub url: Option<String>,
pub type_field: Option<String>,
pub image: Option<String>,
}Expand description
Goody model containing information about bonus content
This struct represents additional content or “goodies” associated with an album, such as booklets, photos, or other bonus materials.
§Examples
use qobuz_api_rust::models::Goody;
let goody = Goody {
id: Some(789),
title: Some("Digital Booklet".to_string()),
type_field: Some("booklet".to_string()),
..Default::default()
};Fields§
§id: Option<i32>Unique identifier for the goody
title: Option<String>Title of the goody
url: Option<String>URL to access the goody
type_field: Option<String>Type of the goody (e.g., “booklet”, “photo”, “video”)
image: Option<String>URL to the goody’s image
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Goody
impl<'de> Deserialize<'de> for Goody
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 Goody
impl RefUnwindSafe for Goody
impl Send for Goody
impl Sync for Goody
impl Unpin for Goody
impl UnwindSafe for Goody
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