pub struct Discord;Trait Implementations§
Source§impl SimpleOAuthProvider for Discord
impl SimpleOAuthProvider for Discord
The authorization endpoint of the provider
Source§fn default_scopes(&self) -> &'static [&'static str]
fn default_scopes(&self) -> &'static [&'static str]
Minimum scopes needed to get basic profile info (id, name, username). Email is not included
by default - the user can specify that by passing
in custom scopes when calling
client.authorize_url()Source§fn user_info_url(&self) -> &str
fn user_info_url(&self) -> &str
The URL to fetch the user info from the provider
Auto Trait Implementations§
impl Freeze for Discord
impl RefUnwindSafe for Discord
impl Send for Discord
impl Sync for Discord
impl Unpin for Discord
impl UnsafeUnpin for Discord
impl UnwindSafe for Discord
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