pub struct HttpStoreAuth {
pub type: Type,
pub header_name: Option<String>,
pub header_value: Option<String>,
pub token_path: Option<String>,
pub prefix: Option<String>,
pub cert_path: Option<String>,
pub key_path: Option<String>,
pub reload_interval_secs: Option<i32>,
}Fields§
§type: Type§header_name: Option<String>StaticHeader and BearerTokenFile (default Authorization)
header_value: Option<String>StaticHeader
token_path: Option<String>BearerTokenFile
prefix: Option<String>BearerTokenFile (default "Bearer ")
cert_path: Option<String>ClientCertificate, PEM certificate optionally followed by its chain
key_path: Option<String>ClientCertificate, PEM private key
reload_interval_secs: Option<i32>BearerTokenFile (default 60) and ClientCertificate (default 300)
Implementations§
Source§impl HttpStoreAuth
impl HttpStoreAuth
pub fn new(type: Type) -> HttpStoreAuth
Trait Implementations§
Source§impl Clone for HttpStoreAuth
impl Clone for HttpStoreAuth
Source§impl Debug for HttpStoreAuth
impl Debug for HttpStoreAuth
Source§impl Default for HttpStoreAuth
impl Default for HttpStoreAuth
Source§impl<'de> Deserialize<'de> for HttpStoreAuth
impl<'de> Deserialize<'de> for HttpStoreAuth
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 HttpStoreAuth
impl PartialEq for HttpStoreAuth
Source§impl Serialize for HttpStoreAuth
impl Serialize for HttpStoreAuth
impl StructuralPartialEq for HttpStoreAuth
Auto Trait Implementations§
impl Forget for HttpStoreAuth
impl Freeze for HttpStoreAuth
impl RefUnwindSafe for HttpStoreAuth
impl Send for HttpStoreAuth
impl Sync for HttpStoreAuth
impl Unpin for HttpStoreAuth
impl UnsafeUnpin for HttpStoreAuth
impl UnwindSafe for HttpStoreAuth
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