Struct openapi_31::v31::authorization_code::AuthorizationCode
source · pub struct AuthorizationCode {
pub authorization_url: String,
pub token_url: String,
pub refresh_url: Option<String>,
pub scopes: BTreeMap<String, String>,
}Fields§
§token_url: String§refresh_url: Option<String>§scopes: BTreeMap<String, String>Implementations§
Trait Implementations§
source§impl Clone for AuthorizationCode
impl Clone for AuthorizationCode
source§fn clone(&self) -> AuthorizationCode
fn clone(&self) -> AuthorizationCode
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 AuthorizationCode
impl Debug for AuthorizationCode
source§impl Default for AuthorizationCode
impl Default for AuthorizationCode
source§fn default() -> AuthorizationCode
fn default() -> AuthorizationCode
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AuthorizationCode
impl<'de> Deserialize<'de> for AuthorizationCode
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 AuthorizationCode
impl PartialEq for AuthorizationCode
source§fn eq(&self, other: &AuthorizationCode) -> bool
fn eq(&self, other: &AuthorizationCode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AuthorizationCode
impl Serialize for AuthorizationCode
impl StructuralPartialEq for AuthorizationCode
Auto Trait Implementations§
impl Freeze for AuthorizationCode
impl RefUnwindSafe for AuthorizationCode
impl Send for AuthorizationCode
impl Sync for AuthorizationCode
impl Unpin for AuthorizationCode
impl UnwindSafe for AuthorizationCode
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