pub struct ListCommentsResponse {
pub has_more: bool,
pub page_token: Option<String>,
pub total: Option<i32>,
pub items: Vec<CommentItem>,
}Expand description
获取评论列表响应
Fields§
§has_more: bool是否还有更多项
page_token: Option<String>分页标记
total: Option<i32>总数
items: Vec<CommentItem>列表项
Trait Implementations§
Source§impl ApiResponseTrait for ListCommentsResponse
impl ApiResponseTrait for ListCommentsResponse
Source§fn data_format() -> ResponseFormat
fn data_format() -> ResponseFormat
获取响应数据格式
Source§impl Clone for ListCommentsResponse
impl Clone for ListCommentsResponse
Source§fn clone(&self) -> ListCommentsResponse
fn clone(&self) -> ListCommentsResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ListCommentsResponse
impl Debug for ListCommentsResponse
Source§impl<'de> Deserialize<'de> for ListCommentsResponse
impl<'de> Deserialize<'de> for ListCommentsResponse
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
Source§impl PartialEq for ListCommentsResponse
impl PartialEq for ListCommentsResponse
Source§fn eq(&self, other: &ListCommentsResponse) -> bool
fn eq(&self, other: &ListCommentsResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ListCommentsResponse
impl Serialize for ListCommentsResponse
impl StructuralPartialEq for ListCommentsResponse
Auto Trait Implementations§
impl Freeze for ListCommentsResponse
impl RefUnwindSafe for ListCommentsResponse
impl Send for ListCommentsResponse
impl Sync for ListCommentsResponse
impl Unpin for ListCommentsResponse
impl UnsafeUnpin for ListCommentsResponse
impl UnwindSafe for ListCommentsResponse
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