#[non_exhaustive]pub struct ImportApiKeysInput {
pub body: Option<Blob>,
pub format: Option<ApiKeysFormat>,
pub fail_on_warnings: Option<bool>,
}Expand description
The POST request to import API keys from an external source, such as a CSV-formatted file.
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.body: Option<Blob>The payload of the POST request to import API keys. For the payload format, see API Key File Format.
format: Option<ApiKeysFormat>A query parameter to specify the input format to imported API keys. Currently, only the csv format is supported.
fail_on_warnings: Option<bool>A query parameter to indicate whether to rollback ApiKey importation (true) or not (false) when error is encountered.
Implementations§
source§impl ImportApiKeysInput
impl ImportApiKeysInput
sourcepub fn body(&self) -> Option<&Blob>
pub fn body(&self) -> Option<&Blob>
The payload of the POST request to import API keys. For the payload format, see API Key File Format.
sourcepub fn format(&self) -> Option<&ApiKeysFormat>
pub fn format(&self) -> Option<&ApiKeysFormat>
A query parameter to specify the input format to imported API keys. Currently, only the csv format is supported.
sourcepub fn fail_on_warnings(&self) -> Option<bool>
pub fn fail_on_warnings(&self) -> Option<bool>
A query parameter to indicate whether to rollback ApiKey importation (true) or not (false) when error is encountered.
source§impl ImportApiKeysInput
impl ImportApiKeysInput
sourcepub fn builder() -> ImportApiKeysInputBuilder
pub fn builder() -> ImportApiKeysInputBuilder
Creates a new builder-style object to manufacture ImportApiKeysInput.
Trait Implementations§
source§impl Clone for ImportApiKeysInput
impl Clone for ImportApiKeysInput
source§fn clone(&self) -> ImportApiKeysInput
fn clone(&self) -> ImportApiKeysInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ImportApiKeysInput
impl Debug for ImportApiKeysInput
source§impl PartialEq for ImportApiKeysInput
impl PartialEq for ImportApiKeysInput
source§fn eq(&self, other: &ImportApiKeysInput) -> bool
fn eq(&self, other: &ImportApiKeysInput) -> bool
self and other values to be equal, and is used
by ==.