pub struct OAuth2AuthConfig {
pub client_id: String,
pub client_secret: String,
pub token_url: String,
pub authorization_url: String,
}Expand description
OAuth2 authentication configuration
Fields§
§client_id: String§client_secret: String§token_url: StringTrait Implementations§
Source§impl Clone for OAuth2AuthConfig
impl Clone for OAuth2AuthConfig
Source§fn clone(&self) -> OAuth2AuthConfig
fn clone(&self) -> OAuth2AuthConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 OAuth2AuthConfig
impl Debug for OAuth2AuthConfig
Source§impl<'de> Deserialize<'de> for OAuth2AuthConfig
impl<'de> Deserialize<'de> for OAuth2AuthConfig
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 OAuth2AuthConfig
impl RefUnwindSafe for OAuth2AuthConfig
impl Send for OAuth2AuthConfig
impl Sync for OAuth2AuthConfig
impl Unpin for OAuth2AuthConfig
impl UnsafeUnpin for OAuth2AuthConfig
impl UnwindSafe for OAuth2AuthConfig
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