pub struct ChatTypeSecret {
pub secret_chat_id: i32,
pub user_id: i32,
}
Expand description
A secret chat with a user
Fields§
§secret_chat_id: i32
Secret chat identifier
user_id: i32
User identifier of the secret chat peer
Trait Implementations§
Source§impl Clone for ChatTypeSecret
impl Clone for ChatTypeSecret
Source§fn clone(&self) -> ChatTypeSecret
fn clone(&self) -> ChatTypeSecret
Returns a duplicate 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<'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
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