Enum splunk::search::AuthenticationMethod
source · pub enum AuthenticationMethod {
Basic {
username: String,
password: String,
},
Token {
token: String,
},
Cookie {
cookie: HashMap<String, String>,
},
Unknown,
}
Expand description
The current auth method for the search client
Variants§
Basic
Basic auth
Token
Token auth
Cookie
Fields
cookie store
Cookie based
Unknown
we haven’t set it yet
Trait Implementations§
source§impl Clone for AuthenticationMethod
impl Clone for AuthenticationMethod
source§fn clone(&self) -> AuthenticationMethod
fn clone(&self) -> AuthenticationMethod
Returns a copy 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 AuthenticationMethod
impl Debug for AuthenticationMethod
source§impl<'de> Deserialize<'de> for AuthenticationMethod
impl<'de> Deserialize<'de> for AuthenticationMethod
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