Enum anicca::openapi::OAuth2Flow [−][src]
pub enum OAuth2Flow { Implicit { authorization_url: String, refresh_url: Option<String>, scopes: BTreeMap<String, String>, }, Password { refresh_url: Option<String>, token_url: String, scopes: BTreeMap<String, String>, }, ClientCredentials { refresh_url: Option<String>, token_url: String, scopes: BTreeMap<String, String>, }, AuthorizationCode { authorization_url: String, token_url: String, refresh_url: Option<String>, scopes: BTreeMap<String, String>, }, }
Variants
Show fields
Show fields
Show fields
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for OAuth2Flow
impl Send for OAuth2Flow
impl Sync for OAuth2Flow
impl Unpin for OAuth2Flow
impl UnwindSafe for OAuth2Flow
Blanket Implementations
Mutably borrows from an owned value. Read more