pub struct HotCommentsResp {
pub code: usize,
pub hot_comments: Vec<Comment>,
pub has_more: bool,
pub total: usize,
}Fields§
§code: usize§hot_comments: Vec<Comment>§has_more: bool§total: usizeTrait Implementations§
Source§impl Clone for HotCommentsResp
impl Clone for HotCommentsResp
Source§fn clone(&self) -> HotCommentsResp
fn clone(&self) -> HotCommentsResp
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 HotCommentsResp
impl Debug for HotCommentsResp
Source§impl Default for HotCommentsResp
impl Default for HotCommentsResp
Source§fn default() -> HotCommentsResp
fn default() -> HotCommentsResp
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HotCommentsResp
impl<'de> Deserialize<'de> for HotCommentsResp
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 HotCommentsResp
impl RefUnwindSafe for HotCommentsResp
impl Send for HotCommentsResp
impl Sync for HotCommentsResp
impl Unpin for HotCommentsResp
impl UnwindSafe for HotCommentsResp
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