pub struct GetOption { /* private fields */ }
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
Implementations§
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
impl TDOptionValue for GetOption
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