pub enum IrSecurityScheme {
ApiKey {
name: String,
location: ApiKeyLocation,
description: Option<String>,
},
Http {
scheme: String,
bearer_format: Option<String>,
description: Option<String>,
},
OAuth2 {
flows: Box<IrOAuth2Flows>,
description: Option<String>,
},
OpenIdConnect {
open_id_connect_url: String,
description: Option<String>,
},
MutualTls {
description: Option<String>,
},
}Expand description
Security scheme definition.
Variants§
Trait Implementations§
Source§impl Clone for IrSecurityScheme
impl Clone for IrSecurityScheme
Source§fn clone(&self) -> IrSecurityScheme
fn clone(&self) -> IrSecurityScheme
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IrSecurityScheme
impl Debug for IrSecurityScheme
Auto Trait Implementations§
impl Freeze for IrSecurityScheme
impl RefUnwindSafe for IrSecurityScheme
impl Send for IrSecurityScheme
impl Sync for IrSecurityScheme
impl Unpin for IrSecurityScheme
impl UnsafeUnpin for IrSecurityScheme
impl UnwindSafe for IrSecurityScheme
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