pub struct LikeResponse {
pub liked: bool,
pub like_count: i64,
}Fields§
§liked: bool§like_count: i64Trait Implementations§
Source§impl Clone for LikeResponse
impl Clone for LikeResponse
Source§fn clone(&self) -> LikeResponse
fn clone(&self) -> LikeResponse
Returns a duplicate 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 LikeResponse
impl Debug for LikeResponse
Source§impl Default for LikeResponse
impl Default for LikeResponse
Source§fn default() -> LikeResponse
fn default() -> LikeResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LikeResponse
impl<'de> Deserialize<'de> for LikeResponse
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 LikeResponse
impl RefUnwindSafe for LikeResponse
impl Send for LikeResponse
impl Sync for LikeResponse
impl Unpin for LikeResponse
impl UnsafeUnpin for LikeResponse
impl UnwindSafe for LikeResponse
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