pub struct GetOption {
pub name: String,
}
Expand description
Returns the value of an option by its name. (Check the list of available options on https://core.telegram.org/tdlib/options.) Can be called before authorization
Fields§
§name: String
The name of the option
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetOption
impl<'de> Deserialize<'de> for GetOption
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
Auto Trait Implementations§
impl Freeze for GetOption
impl RefUnwindSafe for GetOption
impl Send for GetOption
impl Sync for GetOption
impl Unpin for GetOption
impl UnwindSafe for GetOption
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more