Struct clacks_mtproto::mtproto::dc_option::DcOption
[−]
[src]
pub struct DcOption { pub ipv6: bool, pub media_only: bool, pub tcpo_only: bool, pub cdn: bool, pub static_: bool, pub id: int, pub ip_address: string, pub port: int, }
TL-derived from dcOption
dcOption#5d8c6cc flags:# ipv6:flags.0?true media_only:flags.1?true tcpo_only:flags.2?true cdn:flags.3?true static:flags.4?true id:int ip_address:string port:int = DcOption;
Fields
ipv6: bool
media_only: bool
tcpo_only: bool
cdn: bool
static_: bool
id: int
ip_address: string
port: int
Trait Implementations
impl Debug for DcOption
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for DcOption
[src]
fn clone(&self) -> DcOption
[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