pub struct OAuth2AuthenticationPlan {
pub type: TypeTrue,
pub url: String,
pub client_id: String,
pub client_secret: String,
pub scope: Option<String>,
}
Fields§
§type: TypeTrue
§url: String
This is the OAuth2 URL.
client_id: String
This is the OAuth2 client ID.
client_secret: String
This is the OAuth2 client secret.
scope: Option<String>
This is the scope of the OAuth2 token.
Implementations§
Trait Implementations§
Source§impl Clone for OAuth2AuthenticationPlan
impl Clone for OAuth2AuthenticationPlan
Source§fn clone(&self) -> OAuth2AuthenticationPlan
fn clone(&self) -> OAuth2AuthenticationPlan
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OAuth2AuthenticationPlan
impl Debug for OAuth2AuthenticationPlan
Source§impl Default for OAuth2AuthenticationPlan
impl Default for OAuth2AuthenticationPlan
Source§fn default() -> OAuth2AuthenticationPlan
fn default() -> OAuth2AuthenticationPlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OAuth2AuthenticationPlan
impl<'de> Deserialize<'de> for OAuth2AuthenticationPlan
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
Source§impl PartialEq for OAuth2AuthenticationPlan
impl PartialEq for OAuth2AuthenticationPlan
Source§impl Serialize for OAuth2AuthenticationPlan
impl Serialize for OAuth2AuthenticationPlan
impl StructuralPartialEq for OAuth2AuthenticationPlan
Auto Trait Implementations§
impl Freeze for OAuth2AuthenticationPlan
impl RefUnwindSafe for OAuth2AuthenticationPlan
impl Send for OAuth2AuthenticationPlan
impl Sync for OAuth2AuthenticationPlan
impl Unpin for OAuth2AuthenticationPlan
impl UnwindSafe for OAuth2AuthenticationPlan
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