pub struct BadServerSalt {
pub bad_msg_id: i64,
pub bad_msg_seqno: i32,
pub error_code: i32,
pub new_server_salt: i64,
}Expand description
Generated from:
bad_server_salt#edab447b bad_msg_id:long bad_msg_seqno:int error_code:int new_server_salt:long = BadMsgNotificationFields§
§bad_msg_id: i64§bad_msg_seqno: i32§error_code: i32§new_server_salt: i64Trait Implementations§
Source§impl Clone for BadServerSalt
impl Clone for BadServerSalt
Source§fn clone(&self) -> BadServerSalt
fn clone(&self) -> BadServerSalt
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 BadServerSalt
impl Debug for BadServerSalt
Source§impl Deserializable for BadServerSalt
impl Deserializable for BadServerSalt
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<BadServerSalt> for BadMsgNotification
impl From<BadServerSalt> for BadMsgNotification
Source§fn from(x: BadServerSalt) -> Self
fn from(x: BadServerSalt) -> Self
Converts to this type from the input type.
Source§impl Identifiable for BadServerSalt
impl Identifiable for BadServerSalt
Source§const CONSTRUCTOR_ID: u32 = 0xedab447b
const CONSTRUCTOR_ID: u32 = 0xedab447b
The constructor ID as specified in the TL schema.
Source§impl PartialEq for BadServerSalt
impl PartialEq for BadServerSalt
Source§impl Serializable for BadServerSalt
impl Serializable for BadServerSalt
Source§impl TryFrom<BadMsgNotification> for BadServerSalt
impl TryFrom<BadMsgNotification> for BadServerSalt
Source§type Error = BadMsgNotification
type Error = BadMsgNotification
The type returned in the event of a conversion error.
impl StructuralPartialEq for BadServerSalt
Auto Trait Implementations§
impl Freeze for BadServerSalt
impl RefUnwindSafe for BadServerSalt
impl Send for BadServerSalt
impl Sync for BadServerSalt
impl Unpin for BadServerSalt
impl UnsafeUnpin for BadServerSalt
impl UnwindSafe for BadServerSalt
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