Struct google_connectors1::api::AuthorizationCodeLink
source · pub struct AuthorizationCodeLink {
pub client_id: Option<String>,
pub enable_pkce: Option<bool>,
pub scopes: Option<Vec<String>>,
pub uri: Option<String>,
}
Expand description
This configuration captures the details required to render an authorization link for the OAuth Authorization Code Flow.
This type is not used in any activity, and only used as part of another schema.
Fields§
§client_id: Option<String>
The client ID assigned to the Google Cloud Connectors OAuth app for the connector data source.
enable_pkce: Option<bool>
Whether to enable PKCE for the auth code flow.
scopes: Option<Vec<String>>
The scopes for which the user will authorize Google Cloud Connectors on the connector data source.
uri: Option<String>
The base URI the user must click to trigger the authorization code login flow.
Trait Implementations§
source§impl Clone for AuthorizationCodeLink
impl Clone for AuthorizationCodeLink
source§fn clone(&self) -> AuthorizationCodeLink
fn clone(&self) -> AuthorizationCodeLink
Returns a copy 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 AuthorizationCodeLink
impl Debug for AuthorizationCodeLink
source§impl Default for AuthorizationCodeLink
impl Default for AuthorizationCodeLink
source§fn default() -> AuthorizationCodeLink
fn default() -> AuthorizationCodeLink
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AuthorizationCodeLink
impl<'de> Deserialize<'de> for AuthorizationCodeLink
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 Serialize for AuthorizationCodeLink
impl Serialize for AuthorizationCodeLink
impl Part for AuthorizationCodeLink
Auto Trait Implementations§
impl RefUnwindSafe for AuthorizationCodeLink
impl Send for AuthorizationCodeLink
impl Sync for AuthorizationCodeLink
impl Unpin for AuthorizationCodeLink
impl UnwindSafe for AuthorizationCodeLink
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