pub struct DecryptedMessage {
pub salt: i64,
pub session_id: i64,
pub msg_id: i64,
pub seq_no: i32,
pub body: Vec<u8>,
}Expand description
The inner payload extracted from a successfully decrypted server frame.
Fields§
§salt: i64salt sent by the server.
session_id: i64The session_id from the frame.
msg_id: i64The msg_id of the inner message.
seq_no: i32seq_no of the inner message.
body: Vec<u8>TL-serialized body of the inner message.
Auto Trait Implementations§
impl Freeze for DecryptedMessage
impl RefUnwindSafe for DecryptedMessage
impl Send for DecryptedMessage
impl Sync for DecryptedMessage
impl Unpin for DecryptedMessage
impl UnsafeUnpin for DecryptedMessage
impl UnwindSafe for DecryptedMessage
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