pub struct SplunkTargetDetails {
pub audience: Option<String>,
pub auth_mode: Option<String>,
pub password: Option<String>,
pub splunk_payload: Option<Box<SplunkPayload>>,
pub splunk_url: Option<String>,
pub token: Option<String>,
pub token_owner: Option<String>,
pub use_tls: Option<bool>,
pub username: Option<String>,
}Expand description
SplunkTargetDetails : SplunkTargetDetails defines details related to connecting to a Splunk server
Fields§
§audience: Option<String>Token audience
auth_mode: Option<String>Authentication mode: "username" or "token"
password: Option<String>§splunk_payload: Option<Box<SplunkPayload>>§splunk_url: Option<String>Splunk server URL
token: Option<String>Token is used when AuthMode == "token"
token_owner: Option<String>Token owner (the Splunk user who owns the token, required for token rotation)
use_tls: Option<bool>Use TLS certificate verification when connecting to the Splunk management API.
username: Option<String>Username & Password are used when AuthMode == "username"
Implementations§
Source§impl SplunkTargetDetails
impl SplunkTargetDetails
Sourcepub fn new() -> SplunkTargetDetails
pub fn new() -> SplunkTargetDetails
SplunkTargetDetails defines details related to connecting to a Splunk server
Trait Implementations§
Source§impl Clone for SplunkTargetDetails
impl Clone for SplunkTargetDetails
Source§fn clone(&self) -> SplunkTargetDetails
fn clone(&self) -> SplunkTargetDetails
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SplunkTargetDetails
impl Debug for SplunkTargetDetails
Source§impl Default for SplunkTargetDetails
impl Default for SplunkTargetDetails
Source§fn default() -> SplunkTargetDetails
fn default() -> SplunkTargetDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SplunkTargetDetails
impl<'de> Deserialize<'de> for SplunkTargetDetails
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 SplunkTargetDetails
impl PartialEq for SplunkTargetDetails
Source§fn eq(&self, other: &SplunkTargetDetails) -> bool
fn eq(&self, other: &SplunkTargetDetails) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SplunkTargetDetails
impl Serialize for SplunkTargetDetails
impl StructuralPartialEq for SplunkTargetDetails
Auto Trait Implementations§
impl Freeze for SplunkTargetDetails
impl RefUnwindSafe for SplunkTargetDetails
impl Send for SplunkTargetDetails
impl Sync for SplunkTargetDetails
impl Unpin for SplunkTargetDetails
impl UnsafeUnpin for SplunkTargetDetails
impl UnwindSafe for SplunkTargetDetails
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