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

Trait Implementations

impl Debug for DcOption
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for DcOption
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl BareSerialize for DcOption
[src]

impl BareDeserialize for DcOption
[src]

impl IntoBoxed for DcOption
[src]

Auto Trait Implementations

impl Send for DcOption

impl Sync for DcOption