pub struct EncryptedChatRequested {
pub folder_id: Option<i32>,
pub id: i32,
pub access_hash: i64,
pub date: i32,
pub admin_id: i64,
pub participant_id: i64,
pub g_a: Vec<u8>,
}Expand description
Generated from:
encryptedChatRequested#48f1d94c flags:# folder_id:flags.0?int id:int access_hash:long date:int admin_id:long participant_id:long g_a:bytes = EncryptedChatFields§
§folder_id: Option<i32>§id: i32§access_hash: i64§date: i32§admin_id: i64§participant_id: i64§g_a: Vec<u8>Trait Implementations§
Source§impl Clone for EncryptedChatRequested
impl Clone for EncryptedChatRequested
Source§fn clone(&self) -> EncryptedChatRequested
fn clone(&self) -> EncryptedChatRequested
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 EncryptedChatRequested
impl Debug for EncryptedChatRequested
Source§impl Deserializable for EncryptedChatRequested
impl Deserializable for EncryptedChatRequested
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<EncryptedChatRequested> for EncryptedChat
impl From<EncryptedChatRequested> for EncryptedChat
Source§fn from(x: EncryptedChatRequested) -> Self
fn from(x: EncryptedChatRequested) -> Self
Converts to this type from the input type.
Source§impl Identifiable for EncryptedChatRequested
impl Identifiable for EncryptedChatRequested
Source§const CONSTRUCTOR_ID: u32 = 0x48f1d94c
const CONSTRUCTOR_ID: u32 = 0x48f1d94c
The constructor ID as specified in the TL schema.
Source§impl PartialEq for EncryptedChatRequested
impl PartialEq for EncryptedChatRequested
Source§impl TryFrom<EncryptedChat> for EncryptedChatRequested
impl TryFrom<EncryptedChat> for EncryptedChatRequested
Source§type Error = EncryptedChat
type Error = EncryptedChat
The type returned in the event of a conversion error.
impl StructuralPartialEq for EncryptedChatRequested
Auto Trait Implementations§
impl Freeze for EncryptedChatRequested
impl RefUnwindSafe for EncryptedChatRequested
impl Send for EncryptedChatRequested
impl Sync for EncryptedChatRequested
impl Unpin for EncryptedChatRequested
impl UnsafeUnpin for EncryptedChatRequested
impl UnwindSafe for EncryptedChatRequested
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