pub struct EncryptedChatEmpty {
pub id: i32,
}Expand description
Fields§
§id: i32Trait Implementations§
Source§impl Clone for EncryptedChatEmpty
impl Clone for EncryptedChatEmpty
Source§fn clone(&self) -> EncryptedChatEmpty
fn clone(&self) -> EncryptedChatEmpty
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 EncryptedChatEmpty
impl Debug for EncryptedChatEmpty
Source§impl Deserializable for EncryptedChatEmpty
impl Deserializable for EncryptedChatEmpty
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<EncryptedChatEmpty> for EncryptedChat
impl From<EncryptedChatEmpty> for EncryptedChat
Source§fn from(x: EncryptedChatEmpty) -> Self
fn from(x: EncryptedChatEmpty) -> Self
Converts to this type from the input type.
Source§impl Identifiable for EncryptedChatEmpty
impl Identifiable for EncryptedChatEmpty
Source§const CONSTRUCTOR_ID: u32 = 0xab7ec0a0
const CONSTRUCTOR_ID: u32 = 0xab7ec0a0
The constructor ID as specified in the TL schema.
Source§impl PartialEq for EncryptedChatEmpty
impl PartialEq for EncryptedChatEmpty
Source§impl Serializable for EncryptedChatEmpty
impl Serializable for EncryptedChatEmpty
Source§impl TryFrom<EncryptedChat> for EncryptedChatEmpty
impl TryFrom<EncryptedChat> for EncryptedChatEmpty
Source§type Error = EncryptedChat
type Error = EncryptedChat
The type returned in the event of a conversion error.
impl StructuralPartialEq for EncryptedChatEmpty
Auto Trait Implementations§
impl Freeze for EncryptedChatEmpty
impl RefUnwindSafe for EncryptedChatEmpty
impl Send for EncryptedChatEmpty
impl Sync for EncryptedChatEmpty
impl Unpin for EncryptedChatEmpty
impl UnsafeUnpin for EncryptedChatEmpty
impl UnwindSafe for EncryptedChatEmpty
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