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