pub enum ContractSecuritySchemeKind {
ApiKeyHeader {
name: String,
},
ApiKeyQuery {
name: String,
},
ApiKeyCookie {
name: String,
},
HttpBasic,
HttpBearer,
OAuthClientCredentials {
token_url: String,
scopes: Vec<String>,
},
}Variants§
Trait Implementations§
Source§impl Clone for ContractSecuritySchemeKind
impl Clone for ContractSecuritySchemeKind
Source§fn clone(&self) -> ContractSecuritySchemeKind
fn clone(&self) -> ContractSecuritySchemeKind
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 ContractSecuritySchemeKind
impl Debug for ContractSecuritySchemeKind
Source§impl PartialEq for ContractSecuritySchemeKind
impl PartialEq for ContractSecuritySchemeKind
Source§fn eq(&self, other: &ContractSecuritySchemeKind) -> bool
fn eq(&self, other: &ContractSecuritySchemeKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ContractSecuritySchemeKind
impl StructuralPartialEq for ContractSecuritySchemeKind
Auto Trait Implementations§
impl Freeze for ContractSecuritySchemeKind
impl RefUnwindSafe for ContractSecuritySchemeKind
impl Send for ContractSecuritySchemeKind
impl Sync for ContractSecuritySchemeKind
impl Unpin for ContractSecuritySchemeKind
impl UnsafeUnpin for ContractSecuritySchemeKind
impl UnwindSafe for ContractSecuritySchemeKind
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§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.