pub struct ListChatUsersResponse {
pub users: Option<Option<Vec<ChatUser>>>,
pub total: i32,
pub next_cursor: Option<String>,
pub provider: String,
}Fields§
§users: Option<Option<Vec<ChatUser>>>§total: i32§next_cursor: Option<String>§provider: StringImplementations§
Source§impl ListChatUsersResponse
impl ListChatUsersResponse
pub fn new(total: i32, provider: String) -> ListChatUsersResponse
Trait Implementations§
Source§impl Clone for ListChatUsersResponse
impl Clone for ListChatUsersResponse
Source§fn clone(&self) -> ListChatUsersResponse
fn clone(&self) -> ListChatUsersResponse
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 ListChatUsersResponse
impl Debug for ListChatUsersResponse
Source§impl Default for ListChatUsersResponse
impl Default for ListChatUsersResponse
Source§fn default() -> ListChatUsersResponse
fn default() -> ListChatUsersResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListChatUsersResponse
impl<'de> Deserialize<'de> for ListChatUsersResponse
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 ListChatUsersResponse
impl PartialEq for ListChatUsersResponse
Source§fn eq(&self, other: &ListChatUsersResponse) -> bool
fn eq(&self, other: &ListChatUsersResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ListChatUsersResponse
impl Serialize for ListChatUsersResponse
impl StructuralPartialEq for ListChatUsersResponse
Auto Trait Implementations§
impl Freeze for ListChatUsersResponse
impl RefUnwindSafe for ListChatUsersResponse
impl Send for ListChatUsersResponse
impl Sync for ListChatUsersResponse
impl Unpin for ListChatUsersResponse
impl UnsafeUnpin for ListChatUsersResponse
impl UnwindSafe for ListChatUsersResponse
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