pub struct LastUpdate {Show 16 fields
pub favorites: Option<String>,
pub playlists: Option<String>,
pub followings: Option<String>,
pub subscriptions: Option<String>,
pub purchases: Option<String>,
pub playback_history: Option<String>,
pub library: Option<String>,
pub recommendations: Option<String>,
pub discover: Option<String>,
pub personal_radio: Option<String>,
pub instant_mixes: Option<String>,
pub smart_playlists: Option<String>,
pub daily_mixes: Option<String>,
pub weekly_mixes: Option<String>,
pub monthly_mixes: Option<String>,
pub yearly_mixes: Option<String>,
}Expand description
Last update model containing timestamps for various user data
This struct represents the last update times for different types of user data such as favorites, playlists, and other collections.
§Examples
use qobuz_api_rust::models::LastUpdate;
let last_update = LastUpdate {
favorites: Some("2023-01-01T00:00:00Z".to_string()),
playlists: Some("2023-01-02T00:00:00Z".to_string()),
..Default::default()
};Fields§
§favorites: Option<String>Last update time for favorites
playlists: Option<String>Last update time for playlists
followings: Option<String>Last update time for followings
subscriptions: Option<String>Last update time for subscriptions
purchases: Option<String>Last update time for purchases
playback_history: Option<String>Last update time for playback history
library: Option<String>Last update time for the user’s library
recommendations: Option<String>Last update time for recommendations
discover: Option<String>Last update time for discover content
personal_radio: Option<String>Last update time for personal radio
instant_mixes: Option<String>Last update time for instant mixes
smart_playlists: Option<String>Last update time for smart playlists
daily_mixes: Option<String>Last update time for daily mixes
weekly_mixes: Option<String>Last update time for weekly mixes
monthly_mixes: Option<String>Last update time for monthly mixes
yearly_mixes: Option<String>Last update time for yearly mixes
Trait Implementations§
Source§impl Clone for LastUpdate
impl Clone for LastUpdate
Source§fn clone(&self) -> LastUpdate
fn clone(&self) -> LastUpdate
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 LastUpdate
impl Debug for LastUpdate
Source§impl Default for LastUpdate
impl Default for LastUpdate
Source§fn default() -> LastUpdate
fn default() -> LastUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LastUpdate
impl<'de> Deserialize<'de> for LastUpdate
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 LastUpdate
impl RefUnwindSafe for LastUpdate
impl Send for LastUpdate
impl Sync for LastUpdate
impl Unpin for LastUpdate
impl UnwindSafe for LastUpdate
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