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
sourceimpl<'de> Deserialize<'de> for SetOption
impl<'de> Deserialize<'de> for SetOption
sourcefn 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 RefUnwindSafe for SetOption
impl Send for SetOption
impl Sync for SetOption
impl Unpin for SetOption
impl UnwindSafe for SetOption
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more