pub struct RegisterDevice {
pub no_muted: bool,
pub token_type: i32,
pub token: String,
pub app_sandbox: bool,
pub secret: Vec<u8>,
pub other_uids: Vec<i64>,
}Expand description
Generated from:
account.registerDevice#ec86017a flags:# no_muted:flags.0?true token_type:int token:string app_sandbox:Bool secret:bytes other_uids:Vector<long> = BoolFields§
§no_muted: bool§token_type: i32§token: String§app_sandbox: bool§secret: Vec<u8>§other_uids: Vec<i64>Trait Implementations§
Source§impl Clone for RegisterDevice
impl Clone for RegisterDevice
Source§fn clone(&self) -> RegisterDevice
fn clone(&self) -> RegisterDevice
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 RegisterDevice
impl Debug for RegisterDevice
Source§impl Identifiable for RegisterDevice
impl Identifiable for RegisterDevice
Source§const CONSTRUCTOR_ID: u32 = 0xec86017a
const CONSTRUCTOR_ID: u32 = 0xec86017a
The constructor ID as specified in the TL schema.
Source§impl PartialEq for RegisterDevice
impl PartialEq for RegisterDevice
Source§impl RemoteCall for RegisterDevice
impl RemoteCall for RegisterDevice
Source§impl Serializable for RegisterDevice
impl Serializable for RegisterDevice
impl StructuralPartialEq for RegisterDevice
Auto Trait Implementations§
impl Freeze for RegisterDevice
impl RefUnwindSafe for RegisterDevice
impl Send for RegisterDevice
impl Sync for RegisterDevice
impl Unpin for RegisterDevice
impl UnsafeUnpin for RegisterDevice
impl UnwindSafe for RegisterDevice
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