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