pub struct HTTPAuthSecurityScheme {
pub scheme_type: String,
pub scheme: String,
pub description: Option<String>,
pub bearer_format: Option<String>,
}Expand description
Defines a security scheme using HTTP authentication.
Fields§
§scheme_type: StringThe type of the security scheme. Must be ‘http’.
scheme: StringThe name of the HTTP Authentication scheme to be used.
description: Option<String>An optional description for the security scheme.
bearer_format: Option<String>A hint to the client to identify how the bearer token is formatted.
Trait Implementations§
Source§impl Clone for HTTPAuthSecurityScheme
impl Clone for HTTPAuthSecurityScheme
Source§fn clone(&self) -> HTTPAuthSecurityScheme
fn clone(&self) -> HTTPAuthSecurityScheme
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 HTTPAuthSecurityScheme
impl Debug for HTTPAuthSecurityScheme
Source§impl<'de> Deserialize<'de> for HTTPAuthSecurityScheme
impl<'de> Deserialize<'de> for HTTPAuthSecurityScheme
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 HTTPAuthSecurityScheme
impl PartialEq for HTTPAuthSecurityScheme
Source§impl Serialize for HTTPAuthSecurityScheme
impl Serialize for HTTPAuthSecurityScheme
impl Eq for HTTPAuthSecurityScheme
impl StructuralPartialEq for HTTPAuthSecurityScheme
Auto Trait Implementations§
impl Freeze for HTTPAuthSecurityScheme
impl RefUnwindSafe for HTTPAuthSecurityScheme
impl Send for HTTPAuthSecurityScheme
impl Sync for HTTPAuthSecurityScheme
impl Unpin for HTTPAuthSecurityScheme
impl UnwindSafe for HTTPAuthSecurityScheme
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