pub struct ChatTypeSecret { /* private fields */ }
Expand description
A secret chat with a user
Implementations§
Trait Implementations§
Source§impl AsRef<ChatTypeSecret> for ChatTypeSecret
impl AsRef<ChatTypeSecret> for ChatTypeSecret
Source§fn as_ref(&self) -> &ChatTypeSecret
fn as_ref(&self) -> &ChatTypeSecret
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for ChatTypeSecret
impl Clone for ChatTypeSecret
Source§fn clone(&self) -> ChatTypeSecret
fn clone(&self) -> ChatTypeSecret
Returns a copy 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 ChatTypeSecret
impl Debug for ChatTypeSecret
Source§impl Default for ChatTypeSecret
impl Default for ChatTypeSecret
Source§fn default() -> ChatTypeSecret
fn default() -> ChatTypeSecret
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatTypeSecret
impl<'de> Deserialize<'de> for ChatTypeSecret
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 Serialize for ChatTypeSecret
impl Serialize for ChatTypeSecret
impl TDChatType for ChatTypeSecret
Auto Trait Implementations§
impl Freeze for ChatTypeSecret
impl RefUnwindSafe for ChatTypeSecret
impl Send for ChatTypeSecret
impl Sync for ChatTypeSecret
impl Unpin for ChatTypeSecret
impl UnwindSafe for ChatTypeSecret
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