pub struct CoinResponseData {
pub like: bool,
}Expand description
投币响应数据
Fields§
§like: bool是否点赞成功 true:成功 false:失败 已赞过则附加点赞失败
Trait Implementations§
Source§impl Clone for CoinResponseData
impl Clone for CoinResponseData
Source§fn clone(&self) -> CoinResponseData
fn clone(&self) -> CoinResponseData
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 CoinResponseData
impl Debug for CoinResponseData
Source§impl<'de> Deserialize<'de> for CoinResponseData
impl<'de> Deserialize<'de> for CoinResponseData
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 CoinResponseData
impl RefUnwindSafe for CoinResponseData
impl Send for CoinResponseData
impl Sync for CoinResponseData
impl Unpin for CoinResponseData
impl UnwindSafe for CoinResponseData
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