pub struct EncryptedChat {
pub id: i32,
pub access_hash: i64,
pub date: i32,
pub admin_id: i64,
pub participant_id: i64,
pub g_a_or_b: Vec<u8>,
pub key_fingerprint: i64,
}Expand description
Generated from:
encryptedChat#61f0d4c7 id:int access_hash:long date:int admin_id:long participant_id:long g_a_or_b:bytes key_fingerprint:long = EncryptedChatFields§
§id: i32§access_hash: i64§date: i32§admin_id: i64§participant_id: i64§g_a_or_b: Vec<u8>§key_fingerprint: i64Trait Implementations§
Source§impl Clone for EncryptedChat
impl Clone for EncryptedChat
Source§fn clone(&self) -> EncryptedChat
fn clone(&self) -> EncryptedChat
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 EncryptedChat
impl Debug for EncryptedChat
Source§impl Deserializable for EncryptedChat
impl Deserializable for EncryptedChat
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<EncryptedChat> for EncryptedChat
impl From<EncryptedChat> for EncryptedChat
Source§fn from(x: EncryptedChat) -> Self
fn from(x: EncryptedChat) -> Self
Converts to this type from the input type.
Source§impl Identifiable for EncryptedChat
impl Identifiable for EncryptedChat
Source§const CONSTRUCTOR_ID: u32 = 0x61f0d4c7
const CONSTRUCTOR_ID: u32 = 0x61f0d4c7
The constructor ID as specified in the TL schema.
Source§impl PartialEq for EncryptedChat
impl PartialEq for EncryptedChat
Source§impl Serializable for EncryptedChat
impl Serializable for EncryptedChat
Source§impl TryFrom<EncryptedChat> for EncryptedChat
impl TryFrom<EncryptedChat> for EncryptedChat
Source§type Error = EncryptedChat
type Error = EncryptedChat
The type returned in the event of a conversion error.
impl StructuralPartialEq for EncryptedChat
Auto Trait Implementations§
impl Freeze for EncryptedChat
impl RefUnwindSafe for EncryptedChat
impl Send for EncryptedChat
impl Sync for EncryptedChat
impl Unpin for EncryptedChat
impl UnsafeUnpin for EncryptedChat
impl UnwindSafe for EncryptedChat
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