#[non_exhaustive]pub struct DatadogConnectorProfileCredentials {
pub api_key: String,
pub application_key: String,
}
Expand description
The connector-specific credentials required by Datadog.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.api_key: String
A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.
application_key: String
Application keys, in conjunction with your API key, give you full access to Datadog’s programmatic API. Application keys are associated with the user account that created them. The application key is used to log all requests made to the API.
Implementations§
source§impl DatadogConnectorProfileCredentials
impl DatadogConnectorProfileCredentials
sourcepub fn api_key(&self) -> &str
pub fn api_key(&self) -> &str
A unique alphanumeric identifier used to authenticate a user, developer, or calling program to your API.
sourcepub fn application_key(&self) -> &str
pub fn application_key(&self) -> &str
Application keys, in conjunction with your API key, give you full access to Datadog’s programmatic API. Application keys are associated with the user account that created them. The application key is used to log all requests made to the API.
source§impl DatadogConnectorProfileCredentials
impl DatadogConnectorProfileCredentials
sourcepub fn builder() -> DatadogConnectorProfileCredentialsBuilder
pub fn builder() -> DatadogConnectorProfileCredentialsBuilder
Creates a new builder-style object to manufacture DatadogConnectorProfileCredentials
.
Trait Implementations§
source§impl Clone for DatadogConnectorProfileCredentials
impl Clone for DatadogConnectorProfileCredentials
source§fn clone(&self) -> DatadogConnectorProfileCredentials
fn clone(&self) -> DatadogConnectorProfileCredentials
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DatadogConnectorProfileCredentials
impl PartialEq for DatadogConnectorProfileCredentials
source§fn eq(&self, other: &DatadogConnectorProfileCredentials) -> bool
fn eq(&self, other: &DatadogConnectorProfileCredentials) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DatadogConnectorProfileCredentials
Auto Trait Implementations§
impl Freeze for DatadogConnectorProfileCredentials
impl RefUnwindSafe for DatadogConnectorProfileCredentials
impl Send for DatadogConnectorProfileCredentials
impl Sync for DatadogConnectorProfileCredentials
impl Unpin for DatadogConnectorProfileCredentials
impl UnwindSafe for DatadogConnectorProfileCredentials
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more