pub struct Oauth2 {
pub grant_type: Oauth2GrantType,
pub access_token_url: Option<String>,
pub add_token_to: Option<String>,
pub auth_url: Option<String>,
pub client_id: Option<String>,
pub client_secret: Option<String>,
pub refresh_token_url: Option<String>,
pub scope: Option<Vec<String>>,
pub state: Option<String>,
pub token_name: Option<String>,
}
Fields§
§grant_type: Oauth2GrantType
§access_token_url: Option<String>
§add_token_to: Option<String>
§auth_url: Option<String>
§client_id: Option<String>
§client_secret: Option<String>
§refresh_token_url: Option<String>
§scope: Option<Vec<String>>
§state: Option<String>
§token_name: Option<String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Oauth2
impl<'de> Deserialize<'de> for Oauth2
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 Eq for Oauth2
impl StructuralPartialEq for Oauth2
Auto Trait Implementations§
impl Freeze for Oauth2
impl RefUnwindSafe for Oauth2
impl Send for Oauth2
impl Sync for Oauth2
impl Unpin for Oauth2
impl UnwindSafe for Oauth2
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.