pub struct EncryptedMessageService {
pub random_id: i64,
pub chat_id: i32,
pub date: i32,
pub bytes: Vec<u8>,
}Expand description
Generated from:
encryptedMessageService#23734b06 random_id:long chat_id:int date:int bytes:bytes = EncryptedMessageFields§
§random_id: i64§chat_id: i32§date: i32§bytes: Vec<u8>Trait Implementations§
Source§impl Clone for EncryptedMessageService
impl Clone for EncryptedMessageService
Source§fn clone(&self) -> EncryptedMessageService
fn clone(&self) -> EncryptedMessageService
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 EncryptedMessageService
impl Debug for EncryptedMessageService
Source§impl Deserializable for EncryptedMessageService
impl Deserializable for EncryptedMessageService
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<EncryptedMessageService> for EncryptedMessage
impl From<EncryptedMessageService> for EncryptedMessage
Source§fn from(x: EncryptedMessageService) -> Self
fn from(x: EncryptedMessageService) -> Self
Converts to this type from the input type.
Source§impl Identifiable for EncryptedMessageService
impl Identifiable for EncryptedMessageService
Source§const CONSTRUCTOR_ID: u32 = 0x23734b06
const CONSTRUCTOR_ID: u32 = 0x23734b06
The constructor ID as specified in the TL schema.
Source§impl PartialEq for EncryptedMessageService
impl PartialEq for EncryptedMessageService
Source§impl TryFrom<EncryptedMessage> for EncryptedMessageService
impl TryFrom<EncryptedMessage> for EncryptedMessageService
Source§type Error = EncryptedMessage
type Error = EncryptedMessage
The type returned in the event of a conversion error.
impl StructuralPartialEq for EncryptedMessageService
Auto Trait Implementations§
impl Freeze for EncryptedMessageService
impl RefUnwindSafe for EncryptedMessageService
impl Send for EncryptedMessageService
impl Sync for EncryptedMessageService
impl Unpin for EncryptedMessageService
impl UnsafeUnpin for EncryptedMessageService
impl UnwindSafe for EncryptedMessageService
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