Struct jsona_openapi::AuthorizationCodeFlow
source · [−]pub struct AuthorizationCodeFlow {
pub authorization_url: Url,
pub refresh_url: Option<Url>,
pub scopes: IndexMap<String, String>,
/* private fields */
}
Expand description
Configuration details for a authorization code OAuth Flow See [link] [link](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#oauth-flow-object
Fields
refresh_url: Option<Url>
scopes: IndexMap<String, String>
Trait Implementations
sourceimpl Clone for AuthorizationCodeFlow
impl Clone for AuthorizationCodeFlow
sourcefn clone(&self) -> AuthorizationCodeFlow
fn clone(&self) -> AuthorizationCodeFlow
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for AuthorizationCodeFlow
impl Debug for AuthorizationCodeFlow
sourceimpl<'de> Deserialize<'de> for AuthorizationCodeFlow
impl<'de> Deserialize<'de> for AuthorizationCodeFlow
sourcefn 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
sourceimpl PartialEq<AuthorizationCodeFlow> for AuthorizationCodeFlow
impl PartialEq<AuthorizationCodeFlow> for AuthorizationCodeFlow
sourcefn eq(&self, other: &AuthorizationCodeFlow) -> bool
fn eq(&self, other: &AuthorizationCodeFlow) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl Serialize for AuthorizationCodeFlow
impl Serialize for AuthorizationCodeFlow
impl StructuralPartialEq for AuthorizationCodeFlow
Auto Trait Implementations
impl RefUnwindSafe for AuthorizationCodeFlow
impl Send for AuthorizationCodeFlow
impl Sync for AuthorizationCodeFlow
impl Unpin for AuthorizationCodeFlow
impl UnwindSafe for AuthorizationCodeFlow
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more