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