pub struct ClientCredentialsOAuth2Flow {
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 ClientCredentialsOAuth2Flow
impl Clone for ClientCredentialsOAuth2Flow
Source§fn clone(&self) -> ClientCredentialsOAuth2Flow
fn clone(&self) -> ClientCredentialsOAuth2Flow
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 ClientCredentialsOAuth2Flow
impl Debug for ClientCredentialsOAuth2Flow
Source§impl<'de> Deserialize<'de> for ClientCredentialsOAuth2Flow
impl<'de> Deserialize<'de> for ClientCredentialsOAuth2Flow
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
impl StructuralPartialEq for ClientCredentialsOAuth2Flow
Auto Trait Implementations§
impl Freeze for ClientCredentialsOAuth2Flow
impl RefUnwindSafe for ClientCredentialsOAuth2Flow
impl Send for ClientCredentialsOAuth2Flow
impl Sync for ClientCredentialsOAuth2Flow
impl Unpin for ClientCredentialsOAuth2Flow
impl UnwindSafe for ClientCredentialsOAuth2Flow
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