pub struct UpdateNewAuthorization {
pub unconfirmed: bool,
pub hash: i64,
pub date: Option<i32>,
pub device: Option<String>,
pub location: Option<String>,
}Expand description
Generated from:
updateNewAuthorization#8951abef flags:# unconfirmed:flags.0?true hash:long date:flags.0?int device:flags.0?string location:flags.0?string = UpdateFields§
§unconfirmed: bool§hash: i64§date: Option<i32>§device: Option<String>§location: Option<String>Trait Implementations§
Source§impl Clone for UpdateNewAuthorization
impl Clone for UpdateNewAuthorization
Source§fn clone(&self) -> UpdateNewAuthorization
fn clone(&self) -> UpdateNewAuthorization
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 UpdateNewAuthorization
impl Debug for UpdateNewAuthorization
Source§impl Deserializable for UpdateNewAuthorization
impl Deserializable for UpdateNewAuthorization
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<UpdateNewAuthorization> for Update
impl From<UpdateNewAuthorization> for Update
Source§fn from(x: UpdateNewAuthorization) -> Self
fn from(x: UpdateNewAuthorization) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateNewAuthorization
impl Identifiable for UpdateNewAuthorization
Source§const CONSTRUCTOR_ID: u32 = 0x8951abef
const CONSTRUCTOR_ID: u32 = 0x8951abef
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateNewAuthorization
impl PartialEq for UpdateNewAuthorization
Source§impl TryFrom<Update> for UpdateNewAuthorization
impl TryFrom<Update> for UpdateNewAuthorization
impl StructuralPartialEq for UpdateNewAuthorization
Auto Trait Implementations§
impl Freeze for UpdateNewAuthorization
impl RefUnwindSafe for UpdateNewAuthorization
impl Send for UpdateNewAuthorization
impl Sync for UpdateNewAuthorization
impl Unpin for UpdateNewAuthorization
impl UnsafeUnpin for UpdateNewAuthorization
impl UnwindSafe for UpdateNewAuthorization
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