pub struct ChatListResponse {
pub items: Vec<ChatInfo>,
pub page_token: Option<String>,
pub has_more: bool,
}Fields§
§items: Vec<ChatInfo>§page_token: Option<String>§has_more: boolTrait Implementations§
Source§impl Debug for ChatListResponse
impl Debug for ChatListResponse
Source§impl Default for ChatListResponse
impl Default for ChatListResponse
Source§fn default() -> ChatListResponse
fn default() -> ChatListResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatListResponse
impl<'de> Deserialize<'de> for ChatListResponse
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 From<ChatListResponse> for Vec<ChatInfoItem>
impl From<ChatListResponse> for Vec<ChatInfoItem>
Source§fn from(response: ChatListResponse) -> Self
fn from(response: ChatListResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ChatListResponse
impl RefUnwindSafe for ChatListResponse
impl Send for ChatListResponse
impl Sync for ChatListResponse
impl Unpin for ChatListResponse
impl UnsafeUnpin for ChatListResponse
impl UnwindSafe for ChatListResponse
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