[][src]Struct rtdlib::types::TdlibParameters

pub struct TdlibParameters { /* fields omitted */ }

Contains parameters for TDLib initialization

Implementations

impl TdlibParameters[src]

pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>[src]

pub fn builder() -> RTDTdlibParametersBuilder[src]

pub fn use_test_dc(&self) -> bool[src]

pub fn database_directory(&self) -> &String[src]

pub fn files_directory(&self) -> &String[src]

pub fn use_file_database(&self) -> bool[src]

pub fn use_chat_info_database(&self) -> bool[src]

pub fn use_message_database(&self) -> bool[src]

pub fn use_secret_chats(&self) -> bool[src]

pub fn api_id(&self) -> i64[src]

pub fn api_hash(&self) -> &String[src]

pub fn system_language_code(&self) -> &String[src]

pub fn device_model(&self) -> &String[src]

pub fn system_version(&self) -> &String[src]

pub fn application_version(&self) -> &String[src]

pub fn enable_storage_optimizer(&self) -> bool[src]

pub fn ignore_file_names(&self) -> bool[src]

Trait Implementations

impl AsRef<TdlibParameters> for TdlibParameters[src]

impl Clone for TdlibParameters[src]

impl Debug for TdlibParameters[src]

impl Default for TdlibParameters[src]

impl<'de> Deserialize<'de> for TdlibParameters[src]

impl RObject for TdlibParameters[src]

impl Serialize for TdlibParameters[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.