pub struct ApplicationOAuth {
pub oauth_type: String,
pub client_id: String,
pub client_secret: Option<String>,
pub pkce_required: bool,
pub scopes: Vec<String>,
pub authorization_url: String,
pub token_url: String,
pub gateway_url: String,
pub redirect_uris: Vec<String>,
}Expand description
Application OAuth configuration.
Fields§
§oauth_type: String§client_id: String§client_secret: Option<String>§pkce_required: bool§scopes: Vec<String>§token_url: String§gateway_url: String§redirect_uris: Vec<String>Trait Implementations§
Source§impl Clone for ApplicationOAuth
impl Clone for ApplicationOAuth
Source§fn clone(&self) -> ApplicationOAuth
fn clone(&self) -> ApplicationOAuth
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 ApplicationOAuth
impl Debug for ApplicationOAuth
Source§impl<'de> Deserialize<'de> for ApplicationOAuth
impl<'de> Deserialize<'de> for ApplicationOAuth
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ApplicationOAuth, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ApplicationOAuth, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ApplicationOAuth
impl Serialize for ApplicationOAuth
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ApplicationOAuth
impl RefUnwindSafe for ApplicationOAuth
impl Send for ApplicationOAuth
impl Sync for ApplicationOAuth
impl Unpin for ApplicationOAuth
impl UnsafeUnpin for ApplicationOAuth
impl UnwindSafe for ApplicationOAuth
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