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
Source§fn clone(&self) -> RecentlyPlayedPreferences
fn clone(&self) -> RecentlyPlayedPreferences
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RecentlyPlayedPreferences
Source§impl Debug for RecentlyPlayedPreferences
impl Debug for RecentlyPlayedPreferences
Source§impl Default for RecentlyPlayedPreferences
impl Default for RecentlyPlayedPreferences
Source§fn default() -> RecentlyPlayedPreferences
fn default() -> RecentlyPlayedPreferences
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RecentlyPlayedPreferences
impl<'de> Deserialize<'de> for RecentlyPlayedPreferences
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RecentlyPlayedPreferences, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RecentlyPlayedPreferences, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RecentlyPlayedPreferences
Source§impl Serialize for RecentlyPlayedPreferences
impl Serialize for RecentlyPlayedPreferences
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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