Struct jsona_openapi::Flows
source · [−]pub struct Flows {
pub implicit: Option<ImplicitFlow>,
pub password: Option<PasswordFlow>,
pub client_credentials: Option<ClientCredentialsFlow>,
pub authorization_code: Option<AuthorizationCodeFlow>,
}
Expand description
Allows configuration of the supported OAuth Flows. See [link] [link][https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#oauth-flows-object]
Fields
implicit: Option<ImplicitFlow>
password: Option<PasswordFlow>
client_credentials: Option<ClientCredentialsFlow>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Flows
impl<'de> Deserialize<'de> for Flows
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<Flows> for Flows
impl PartialEq<Flows> for Flows
impl StructuralPartialEq for Flows
Auto Trait Implementations
impl RefUnwindSafe for Flows
impl Send for Flows
impl Sync for Flows
impl Unpin for Flows
impl UnwindSafe for Flows
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