pub struct RecentlyPlayedPreferences {
pub music: RecentMusicMode,
pub shows: RecentShowsMode,
pub movies: RecentMoviesMode,
}Expand description
How each kind shows in a user’s Home “Recently played” row, kept on
the server for every device of theirs (RecentlyPlayedPreferences and
SetRecentlyPlayedPreferences in spoolframe-protocol). It only
changes what the row shows: every play is recorded and counted
whatever it says. Every field is required on the wire.
Fields§
§music: RecentMusicMode§shows: RecentShowsMode§movies: RecentMoviesModeTrait Implementations§
Source§impl Clone for RecentlyPlayedPreferences
impl Clone for RecentlyPlayedPreferences
impl Copy for RecentlyPlayedPreferences
Source§impl Debug for RecentlyPlayedPreferences
impl Debug for RecentlyPlayedPreferences
Source§impl Default for RecentlyPlayedPreferences
impl Default for RecentlyPlayedPreferences
Source§impl<'de> Deserialize<'de> for RecentlyPlayedPreferences
impl<'de> Deserialize<'de> for RecentlyPlayedPreferences
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
impl Eq for RecentlyPlayedPreferences
impl StructuralPartialEq for RecentlyPlayedPreferences
Auto Trait Implementations§
impl Forget for RecentlyPlayedPreferences
impl Freeze for RecentlyPlayedPreferences
impl Move for RecentlyPlayedPreferences
impl RefUnwindSafe for RecentlyPlayedPreferences
impl Send for RecentlyPlayedPreferences
impl Sync for RecentlyPlayedPreferences
impl Unpin for RecentlyPlayedPreferences
impl UnsafeUnpin for RecentlyPlayedPreferences
impl UnwindSafe for RecentlyPlayedPreferences
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