Struct rust_tdlib::types::SetOption
source · pub struct SetOption { /* private fields */ }
Expand description
Sets the value of an option. (Check the list of available options on https://core.telegram.org/tdlib/options.) Only writable options can be set. Can be called before authorization
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for SetOption
impl<'de> Deserialize<'de> for SetOption
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more