pub struct AuthConfigV2 {
pub auth_type: String,
pub header: Option<String>,
pub prefix: Option<String>,
pub token_env: Option<String>,
pub param_name: Option<String>,
pub extra_headers: Option<Vec<ExtraHeader>>,
}Expand description
V2 authentication configuration (Ring 1).
Fields§
§auth_type: String§header: Option<String>§prefix: Option<String>§token_env: Option<String>§param_name: Option<String>§extra_headers: Option<Vec<ExtraHeader>>Trait Implementations§
Source§impl Clone for AuthConfigV2
impl Clone for AuthConfigV2
Source§fn clone(&self) -> AuthConfigV2
fn clone(&self) -> AuthConfigV2
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 AuthConfigV2
impl Debug for AuthConfigV2
Source§impl<'de> Deserialize<'de> for AuthConfigV2
impl<'de> Deserialize<'de> for AuthConfigV2
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthConfigV2, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AuthConfigV2, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AuthConfigV2
impl Serialize for AuthConfigV2
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for AuthConfigV2
impl RefUnwindSafe for AuthConfigV2
impl Send for AuthConfigV2
impl Sync for AuthConfigV2
impl Unpin for AuthConfigV2
impl UnsafeUnpin for AuthConfigV2
impl UnwindSafe for AuthConfigV2
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