pub struct CachedSecurityScheme {
pub name: String,
pub scheme_type: String,
pub scheme: Option<String>,
pub location: Option<String>,
pub parameter_name: Option<String>,
pub description: Option<String>,
pub bearer_format: Option<String>,
pub aperture_secret: Option<CachedApertureSecret>,
}Expand description
Cached representation of a security scheme with x-aperture-secret mapping
Fields§
§name: StringSecurity scheme name from the OpenAPI spec
scheme_type: StringType of security scheme (apiKey, http, oauth2, etc.)
scheme: Option<String>Subtype for http schemes (bearer, basic, etc.)
location: Option<String>Location for apiKey schemes (header, query, cookie)
parameter_name: Option<String>Parameter name for apiKey schemes (e.g., “Authorization”, “X-API-Key”)
description: Option<String>Description of the security scheme from OpenAPI spec
bearer_format: Option<String>Bearer format for HTTP bearer schemes (e.g., “JWT”)
aperture_secret: Option<CachedApertureSecret>x-aperture-secret mapping for environment variable resolution
Trait Implementations§
Source§impl Clone for CachedSecurityScheme
impl Clone for CachedSecurityScheme
Source§fn clone(&self) -> CachedSecurityScheme
fn clone(&self) -> CachedSecurityScheme
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 CachedSecurityScheme
impl Debug for CachedSecurityScheme
Source§impl<'de> Deserialize<'de> for CachedSecurityScheme
impl<'de> Deserialize<'de> for CachedSecurityScheme
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 CachedSecurityScheme
impl PartialEq for CachedSecurityScheme
Source§impl Serialize for CachedSecurityScheme
impl Serialize for CachedSecurityScheme
impl Eq for CachedSecurityScheme
impl StructuralPartialEq for CachedSecurityScheme
Auto Trait Implementations§
impl Freeze for CachedSecurityScheme
impl RefUnwindSafe for CachedSecurityScheme
impl Send for CachedSecurityScheme
impl Sync for CachedSecurityScheme
impl Unpin for CachedSecurityScheme
impl UnsafeUnpin for CachedSecurityScheme
impl UnwindSafe for CachedSecurityScheme
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.