pub struct CreateNewSecretChat {
pub user_id: i32,
}
Expand description
Creates a new secret chat. Returns the newly created chat
Fields§
§user_id: i32
Identifier of the target user
Trait Implementations§
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<'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
Source§impl Method for CreateNewSecretChat
impl Method for CreateNewSecretChat
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