pub enum AuthTemplate {
None,
ApiKey {
location: ApiKeyLocation,
name: String,
secret: String,
},
Bearer {
secret: String,
},
Basic {
username: String,
password_secret: String,
},
OAuth2Profile {
profile: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for AuthTemplate
impl Clone for AuthTemplate
Source§fn clone(&self) -> AuthTemplate
fn clone(&self) -> AuthTemplate
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 AuthTemplate
impl Debug for AuthTemplate
Source§impl<'de> Deserialize<'de> for AuthTemplate
impl<'de> Deserialize<'de> for AuthTemplate
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
Auto Trait Implementations§
impl Freeze for AuthTemplate
impl RefUnwindSafe for AuthTemplate
impl Send for AuthTemplate
impl Sync for AuthTemplate
impl Unpin for AuthTemplate
impl UnsafeUnpin for AuthTemplate
impl UnwindSafe for AuthTemplate
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