pub struct MostPopular {
pub content: MostPopularContent,
pub type_field: Option<String>,
}Expand description
Most popular model containing information about popular content
This struct represents information about the most popular content of a specific type.
§Examples
use qobuz_api_rust::models::{MostPopular, MostPopularContent};
let most_popular = MostPopular {
content: MostPopularContent::default(),
type_field: Some("album".to_string()),
};Fields§
§content: MostPopularContentContent information for the most popular item
type_field: Option<String>Type of the most popular content
Trait Implementations§
Source§impl Clone for MostPopular
impl Clone for MostPopular
Source§fn clone(&self) -> MostPopular
fn clone(&self) -> MostPopular
Returns a duplicate 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 moreSource§impl Debug for MostPopular
impl Debug for MostPopular
Source§impl Default for MostPopular
impl Default for MostPopular
Source§fn default() -> MostPopular
fn default() -> MostPopular
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MostPopular
impl<'de> Deserialize<'de> for MostPopular
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 MostPopular
impl RefUnwindSafe for MostPopular
impl Send for MostPopular
impl Sync for MostPopular
impl Unpin for MostPopular
impl UnwindSafe for MostPopular
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