pub struct ApiKeySecurityScheme {
pub description: Option<String>,
pub location: String,
pub name: String,
}Fields§
§description: Option<String>§location: StringLocation of the API key (e.g., “header”, “query”, “cookie”)
name: StringName of the API key parameter
Trait Implementations§
Source§impl Clone for ApiKeySecurityScheme
impl Clone for ApiKeySecurityScheme
Source§fn clone(&self) -> ApiKeySecurityScheme
fn clone(&self) -> ApiKeySecurityScheme
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 ApiKeySecurityScheme
impl Debug for ApiKeySecurityScheme
Source§impl<'de> Deserialize<'de> for ApiKeySecurityScheme
impl<'de> Deserialize<'de> for ApiKeySecurityScheme
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 ApiKeySecurityScheme
impl PartialEq for ApiKeySecurityScheme
Source§impl Serialize for ApiKeySecurityScheme
impl Serialize for ApiKeySecurityScheme
impl StructuralPartialEq for ApiKeySecurityScheme
Auto Trait Implementations§
impl Freeze for ApiKeySecurityScheme
impl RefUnwindSafe for ApiKeySecurityScheme
impl Send for ApiKeySecurityScheme
impl Sync for ApiKeySecurityScheme
impl Unpin for ApiKeySecurityScheme
impl UnwindSafe for ApiKeySecurityScheme
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