pub struct BindAuthKeyInner {
pub nonce: i64,
pub temp_auth_key_id: i64,
pub perm_auth_key_id: i64,
pub temp_session_id: i64,
pub expires_at: i32,
}Expand description
Generated from:
bind_auth_key_inner#75a3f765 nonce:long temp_auth_key_id:long perm_auth_key_id:long temp_session_id:long expires_at:int = BindAuthKeyInnerFields§
§nonce: i64§temp_auth_key_id: i64§perm_auth_key_id: i64§temp_session_id: i64§expires_at: i32Trait Implementations§
Source§impl Clone for BindAuthKeyInner
impl Clone for BindAuthKeyInner
Source§fn clone(&self) -> BindAuthKeyInner
fn clone(&self) -> BindAuthKeyInner
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 BindAuthKeyInner
impl Debug for BindAuthKeyInner
Source§impl Deserializable for BindAuthKeyInner
impl Deserializable for BindAuthKeyInner
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<BindAuthKeyInner> for BindAuthKeyInner
impl From<BindAuthKeyInner> for BindAuthKeyInner
Source§fn from(x: BindAuthKeyInner) -> Self
fn from(x: BindAuthKeyInner) -> Self
Converts to this type from the input type.
Source§impl Identifiable for BindAuthKeyInner
impl Identifiable for BindAuthKeyInner
Source§const CONSTRUCTOR_ID: u32 = 0x75a3f765
const CONSTRUCTOR_ID: u32 = 0x75a3f765
The constructor ID as specified in the TL schema.
Source§impl PartialEq for BindAuthKeyInner
impl PartialEq for BindAuthKeyInner
Source§impl Serializable for BindAuthKeyInner
impl Serializable for BindAuthKeyInner
Source§impl TryFrom<BindAuthKeyInner> for BindAuthKeyInner
impl TryFrom<BindAuthKeyInner> for BindAuthKeyInner
Source§type Error = BindAuthKeyInner
type Error = BindAuthKeyInner
The type returned in the event of a conversion error.
impl StructuralPartialEq for BindAuthKeyInner
Auto Trait Implementations§
impl Freeze for BindAuthKeyInner
impl RefUnwindSafe for BindAuthKeyInner
impl Send for BindAuthKeyInner
impl Sync for BindAuthKeyInner
impl Unpin for BindAuthKeyInner
impl UnsafeUnpin for BindAuthKeyInner
impl UnwindSafe for BindAuthKeyInner
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