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