pub struct AuthorizationCodeOAuthFlow {
pub authorization_url: String,
pub token_url: String,
pub refresh_url: Option<String>,
pub scopes: HashMap<String, String>,
}Expand description
The authorization code OAuth2 flow.
Fields§
§token_url: String§refresh_url: Option<String>§scopes: HashMap<String, String>Trait Implementations§
Source§impl Clone for AuthorizationCodeOAuthFlow
impl Clone for AuthorizationCodeOAuthFlow
Source§fn clone(&self) -> AuthorizationCodeOAuthFlow
fn clone(&self) -> AuthorizationCodeOAuthFlow
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 AuthorizationCodeOAuthFlow
impl Debug for AuthorizationCodeOAuthFlow
Source§impl<'de> Deserialize<'de> for AuthorizationCodeOAuthFlow
impl<'de> Deserialize<'de> for AuthorizationCodeOAuthFlow
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthorizationCodeOAuthFlow, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthorizationCodeOAuthFlow, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for AuthorizationCodeOAuthFlow
impl JsonSchema for AuthorizationCodeOAuthFlow
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Serialize for AuthorizationCodeOAuthFlow
impl Serialize for AuthorizationCodeOAuthFlow
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 AuthorizationCodeOAuthFlow
impl RefUnwindSafe for AuthorizationCodeOAuthFlow
impl Send for AuthorizationCodeOAuthFlow
impl Sync for AuthorizationCodeOAuthFlow
impl Unpin for AuthorizationCodeOAuthFlow
impl UnsafeUnpin for AuthorizationCodeOAuthFlow
impl UnwindSafe for AuthorizationCodeOAuthFlow
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