pub enum TelegramScope {
Bot {
bot_username: Option<String>,
},
}Expand description
Scope for Telegram API calls.
Variants§
Trait Implementations§
Source§impl Clone for TelegramScope
impl Clone for TelegramScope
Source§fn clone(&self) -> TelegramScope
fn clone(&self) -> TelegramScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TelegramScope
impl Debug for TelegramScope
Source§impl<'de> Deserialize<'de> for TelegramScope
impl<'de> Deserialize<'de> for TelegramScope
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 TelegramScope
impl RefUnwindSafe for TelegramScope
impl Send for TelegramScope
impl Sync for TelegramScope
impl Unpin for TelegramScope
impl UnsafeUnpin for TelegramScope
impl UnwindSafe for TelegramScope
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