pub enum FollowedTracks {
Unchanged,
Tracks {
tracks: Vec<MediaId>,
},
Gone,
Unknown,
}Expand description
The tracks a followed thing holds, against the cursor asked with.
Variants§
Unchanged
The same as at the cursor: nothing to do.
Tracks
Every track it holds now, in its order, each once: the device fetches those it does not have, and deletes those it has that are no longer here unless another download covers them. Sent with no cursor, or when something changed since it.
Gone
Not on the server any more, or not the user’s to see: the device drops the download.
Unknown
One this build does not know: ask again with no cursor.
Trait Implementations§
Source§impl Clone for FollowedTracks
impl Clone for FollowedTracks
Source§impl Debug for FollowedTracks
impl Debug for FollowedTracks
Source§impl<'de> Deserialize<'de> for FollowedTracks
impl<'de> Deserialize<'de> for FollowedTracks
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 FollowedTracks
Source§impl PartialEq for FollowedTracks
impl PartialEq for FollowedTracks
Source§impl Serialize for FollowedTracks
impl Serialize for FollowedTracks
impl StructuralPartialEq for FollowedTracks
Auto Trait Implementations§
impl Forget for FollowedTracks
impl Freeze for FollowedTracks
impl Move for FollowedTracks
impl RefUnwindSafe for FollowedTracks
impl Send for FollowedTracks
impl Sync for FollowedTracks
impl Unpin for FollowedTracks
impl UnsafeUnpin for FollowedTracks
impl UnwindSafe for FollowedTracks
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