pub struct PlaylistLikedResponse {
pub is_liked: bool,
}
Expand description
Response for whether a user has liked a Playlist.
Fields§
§is_liked: bool
Whether the authenticated user has liked the current Playlist
Trait Implementations§
Source§impl Clone for PlaylistLikedResponse
impl Clone for PlaylistLikedResponse
Source§fn clone(&self) -> PlaylistLikedResponse
fn clone(&self) -> PlaylistLikedResponse
Returns a copy 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 PlaylistLikedResponse
impl Debug for PlaylistLikedResponse
Source§impl<'de> Deserialize<'de> for PlaylistLikedResponse
impl<'de> Deserialize<'de> for PlaylistLikedResponse
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 PlaylistLikedResponse
impl RefUnwindSafe for PlaylistLikedResponse
impl Send for PlaylistLikedResponse
impl Sync for PlaylistLikedResponse
impl Unpin for PlaylistLikedResponse
impl UnwindSafe for PlaylistLikedResponse
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