pub struct DatadogCredentials {
pub api_key: String,
pub app_key: String,
pub site: String,
}Expand description
Datadog API credentials.
Fields§
§api_key: StringAPI key (organisation-scoped secret; required for every call).
app_key: StringApplication key (user-scoped secret; required for every call).
site: StringSite identifier, e.g. datadoghq.com. Determines the base URL.
Trait Implementations§
Source§impl Clone for DatadogCredentials
impl Clone for DatadogCredentials
Source§fn clone(&self) -> DatadogCredentials
fn clone(&self) -> DatadogCredentials
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DatadogCredentials
impl RefUnwindSafe for DatadogCredentials
impl Send for DatadogCredentials
impl Sync for DatadogCredentials
impl Unpin for DatadogCredentials
impl UnsafeUnpin for DatadogCredentials
impl UnwindSafe for DatadogCredentials
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