pub struct ChatTypeSecret {
pub secret_chat_id: i32,
pub user_id: i64,
}
Expand description
A secret chat with a user
Fields§
§secret_chat_id: i32
Secret chat identifier
user_id: i64
User identifier of the other user in the secret chat
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 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 PartialEq for ChatTypeSecret
impl PartialEq for ChatTypeSecret
Source§impl Serialize for ChatTypeSecret
impl Serialize for ChatTypeSecret
impl StructuralPartialEq 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