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