Enum kuma_client::monitor::HttpAuth
source · pub enum HttpAuth {
None,
Basic {
username: Option<String>,
password: Option<String>,
},
OAuth2 {
method: Option<HttpOAuthMethod>,
client_id: Option<String>,
token_url: Option<String>,
client_secret: Option<String>,
scopes: Option<String>,
},
NTLM {
basic_auth_user: Option<String>,
basic_auth_pass: Option<String>,
auth_domain: Option<String>,
auth_workstation: Option<String>,
},
MTLS {
tls_cert: Option<String>,
tls_key: Option<String>,
tls_ca: Option<String>,
},
}Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for HttpAuth
impl<'de> Deserialize<'de> for HttpAuth
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 HttpAuth
impl PartialEq for HttpAuth
impl StructuralPartialEq for HttpAuth
Auto Trait Implementations§
impl Freeze for HttpAuth
impl RefUnwindSafe for HttpAuth
impl Send for HttpAuth
impl Sync for HttpAuth
impl Unpin for HttpAuth
impl UnwindSafe for HttpAuth
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