pub struct SecuritySchemeCatalog {
pub schemes: Vec<SecurityScheme>,
}Expand description
Reusable security-scheme metadata from OpenAPI components.
An operation’s SecurityRequirement says which named schemes it needs;
this catalog says how an SDK supplies each credential. Keeping it separate
lets plugins opt into authentication support without parsing sidecar JSON.
Fields§
§schemes: Vec<SecurityScheme>Trait Implementations§
Source§impl Clone for SecuritySchemeCatalog
impl Clone for SecuritySchemeCatalog
Source§impl Debug for SecuritySchemeCatalog
impl Debug for SecuritySchemeCatalog
Source§impl Default for SecuritySchemeCatalog
impl Default for SecuritySchemeCatalog
Source§impl<'de> Deserialize<'de> for SecuritySchemeCatalog
impl<'de> Deserialize<'de> for SecuritySchemeCatalog
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 Eq for SecuritySchemeCatalog
Source§impl PartialEq for SecuritySchemeCatalog
impl PartialEq for SecuritySchemeCatalog
Source§impl Serialize for SecuritySchemeCatalog
impl Serialize for SecuritySchemeCatalog
impl StructuralPartialEq for SecuritySchemeCatalog
Auto Trait Implementations§
impl Freeze for SecuritySchemeCatalog
impl RefUnwindSafe for SecuritySchemeCatalog
impl Send for SecuritySchemeCatalog
impl Sync for SecuritySchemeCatalog
impl Unpin for SecuritySchemeCatalog
impl UnsafeUnpin for SecuritySchemeCatalog
impl UnwindSafe for SecuritySchemeCatalog
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