pub struct PasswordOAuth2Flow {
pub refresh_url: Option<String>,
pub token_url: String,
pub scopes: IndexMap<String, String>,
pub extensions: IndexMap<String, Value>,
}Fields§
§refresh_url: Option<String>The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL.
token_url: StringThe token URL to be used for this flow. This MUST be in the form of a URL.
scopes: IndexMap<String, String>The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it. The map MAY be empty.
extensions: IndexMap<String, Value>Inline extensions to this object.
Trait Implementations§
Source§impl Clone for PasswordOAuth2Flow
impl Clone for PasswordOAuth2Flow
Source§fn clone(&self) -> PasswordOAuth2Flow
fn clone(&self) -> PasswordOAuth2Flow
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 PasswordOAuth2Flow
impl Debug for PasswordOAuth2Flow
Source§impl<'de> Deserialize<'de> for PasswordOAuth2Flow
impl<'de> Deserialize<'de> for PasswordOAuth2Flow
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 PasswordOAuth2Flow
impl PartialEq for PasswordOAuth2Flow
Source§impl Serialize for PasswordOAuth2Flow
impl Serialize for PasswordOAuth2Flow
impl StructuralPartialEq for PasswordOAuth2Flow
Auto Trait Implementations§
impl Freeze for PasswordOAuth2Flow
impl RefUnwindSafe for PasswordOAuth2Flow
impl Send for PasswordOAuth2Flow
impl Sync for PasswordOAuth2Flow
impl Unpin for PasswordOAuth2Flow
impl UnwindSafe for PasswordOAuth2Flow
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