pub struct UpdateNewEncryptedMessage {
pub message: EncryptedMessage,
pub qts: i32,
}Expand description
Generated from:
updateNewEncryptedMessage#12bcbd9a message:EncryptedMessage qts:int = UpdateFields§
§message: EncryptedMessage§qts: i32Trait Implementations§
Source§impl Clone for UpdateNewEncryptedMessage
impl Clone for UpdateNewEncryptedMessage
Source§fn clone(&self) -> UpdateNewEncryptedMessage
fn clone(&self) -> UpdateNewEncryptedMessage
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 UpdateNewEncryptedMessage
impl Debug for UpdateNewEncryptedMessage
Source§impl Deserializable for UpdateNewEncryptedMessage
impl Deserializable for UpdateNewEncryptedMessage
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<UpdateNewEncryptedMessage> for Update
impl From<UpdateNewEncryptedMessage> for Update
Source§fn from(x: UpdateNewEncryptedMessage) -> Self
fn from(x: UpdateNewEncryptedMessage) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateNewEncryptedMessage
impl Identifiable for UpdateNewEncryptedMessage
Source§const CONSTRUCTOR_ID: u32 = 0x12bcbd9a
const CONSTRUCTOR_ID: u32 = 0x12bcbd9a
The constructor ID as specified in the TL schema.
Source§impl TryFrom<Update> for UpdateNewEncryptedMessage
impl TryFrom<Update> for UpdateNewEncryptedMessage
impl StructuralPartialEq for UpdateNewEncryptedMessage
Auto Trait Implementations§
impl Freeze for UpdateNewEncryptedMessage
impl RefUnwindSafe for UpdateNewEncryptedMessage
impl Send for UpdateNewEncryptedMessage
impl Sync for UpdateNewEncryptedMessage
impl Unpin for UpdateNewEncryptedMessage
impl UnsafeUnpin for UpdateNewEncryptedMessage
impl UnwindSafe for UpdateNewEncryptedMessage
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