[][src]Struct grammers_tl_types::types::DcOption

pub struct DcOption {
    pub ipv6: bool,
    pub media_only: bool,
    pub tcpo_only: bool,
    pub cdn: bool,
    pub static: bool,
    pub id: i32,
    pub ip_address: String,
    pub port: i32,
    pub secret: Option<Vec<u8>>,
}

Fields

ipv6: boolmedia_only: booltcpo_only: boolcdn: boolstatic: boolid: i32ip_address: Stringport: i32secret: Option<Vec<u8>>

Trait Implementations

impl Clone for DcOption[src]

impl Debug for DcOption[src]

impl Deserializable for DcOption[src]

impl From<DcOption> for DcOption[src]

impl From<DcOption> for DcOption[src]

impl Identifiable for DcOption[src]

impl PartialEq<DcOption> for DcOption[src]

impl Serializable for DcOption[src]

impl StructuralPartialEq for DcOption[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.