Struct clacks_mtproto::mtproto::rpc::InitConnection
[−]
[src]
pub struct InitConnection<X> { pub api_id: int, pub device_model: string, pub system_version: string, pub app_version: string, pub system_lang_code: string, pub lang_pack: string, pub lang_code: string, pub query: X, }
TL-derived from initConnection
initConnection#c7481da6 {X:Type} api_id:int device_model:string system_version:string app_version:string system_lang_code:string lang_pack:string lang_code:string query:!X = X;
Fields
api_id: int
device_model: string
system_version: string
app_version: string
system_lang_code: string
lang_pack: string
lang_code: string
query: X
Trait Implementations
impl<X: Debug> Debug for InitConnection<X>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<X: Clone> Clone for InitConnection<X>
[src]
fn clone(&self) -> InitConnection<X>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<X: AnyBoxedSerialize> BoxedSerialize for InitConnection<X>
[src]
fn serialize_boxed<'this>(
&'this self
) -> (ConstructorNumber, &'this BareSerialize)
[src]
&'this self
) -> (ConstructorNumber, &'this BareSerialize)
fn boxed_serialized_bytes(&self) -> Result<Vec<u8>>
[src]
impl<X: Function> Function for InitConnection<X>
[src]
impl<X: AnyBoxedSerialize> BareSerialize for InitConnection<X>
[src]
fn serialize_bare(&self, _ser: &mut Serializer) -> Result<()>
[src]
fn bare_serialized_bytes(&self) -> Result<Vec<u8>>
[src]
Auto Trait Implementations
impl<X> Send for InitConnection<X> where
X: Send,
X: Send,
impl<X> Sync for InitConnection<X> where
X: Sync,
X: Sync,