pub struct ListSectionsResponse {
pub has_more: bool,
pub page_token: Option<String>,
pub total: Option<i32>,
pub items: Vec<SectionItem>,
}Expand description
获取分组列表响应
Fields§
§has_more: bool是否还有更多项
page_token: Option<String>分页标记
total: Option<i32>总数
items: Vec<SectionItem>列表项
Trait Implementations§
Source§impl ApiResponseTrait for ListSectionsResponse
impl ApiResponseTrait for ListSectionsResponse
Source§fn data_format() -> ResponseFormat
fn data_format() -> ResponseFormat
获取响应数据格式
Source§fn requires_payload() -> bool
fn requires_payload() -> bool
成功响应是否必须携带可解码 payload。
() 等无体响应返回 false;默认 true。Source§fn empty_success() -> Option<Self>
fn empty_success() -> Option<Self>
成功且响应体无
data 字段时的显式空成功值。 Read moreSource§impl Clone for ListSectionsResponse
impl Clone for ListSectionsResponse
Source§fn clone(&self) -> ListSectionsResponse
fn clone(&self) -> ListSectionsResponse
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 ListSectionsResponse
impl Debug for ListSectionsResponse
Source§impl<'de> Deserialize<'de> for ListSectionsResponse
impl<'de> Deserialize<'de> for ListSectionsResponse
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 ListSectionsResponse
impl PartialEq for ListSectionsResponse
Source§impl Serialize for ListSectionsResponse
impl Serialize for ListSectionsResponse
impl StructuralPartialEq for ListSectionsResponse
Auto Trait Implementations§
impl Freeze for ListSectionsResponse
impl RefUnwindSafe for ListSectionsResponse
impl Send for ListSectionsResponse
impl Sync for ListSectionsResponse
impl Unpin for ListSectionsResponse
impl UnsafeUnpin for ListSectionsResponse
impl UnwindSafe for ListSectionsResponse
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