pub struct ListChatsOutput {
pub items: Vec<Chat>,
pub has_more: bool,
pub oldest_cursor: Option<String>,
pub newest_cursor: Option<String>,
}Expand description
Output from listing chats
Fields§
§items: Vec<Chat>List of chats
has_more: boolWhether there are more chats
oldest_cursor: Option<String>Cursor for fetching older results
newest_cursor: Option<String>Cursor for fetching newer results
Trait Implementations§
Source§impl Clone for ListChatsOutput
impl Clone for ListChatsOutput
Source§fn clone(&self) -> ListChatsOutput
fn clone(&self) -> ListChatsOutput
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 ListChatsOutput
impl Debug for ListChatsOutput
Source§impl<'de> Deserialize<'de> for ListChatsOutput
impl<'de> Deserialize<'de> for ListChatsOutput
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 ListChatsOutput
impl RefUnwindSafe for ListChatsOutput
impl Send for ListChatsOutput
impl Sync for ListChatsOutput
impl Unpin for ListChatsOutput
impl UnwindSafe for ListChatsOutput
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