#[non_exhaustive]pub struct ApiKeyValidityOutOfBoundsException { /* private fields */ }
Expand description
The API key expiration must be set to a value between 1 and 365 days from creation (for CreateApiKey
) or from update (for UpdateApiKey
).
Implementations§
source§impl ApiKeyValidityOutOfBoundsException
impl ApiKeyValidityOutOfBoundsException
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ApiKeyValidityOutOfBoundsException
.
Trait Implementations§
source§impl Clone for ApiKeyValidityOutOfBoundsException
impl Clone for ApiKeyValidityOutOfBoundsException
source§fn clone(&self) -> ApiKeyValidityOutOfBoundsException
fn clone(&self) -> ApiKeyValidityOutOfBoundsException
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 Error for ApiKeyValidityOutOfBoundsException
impl Error for ApiKeyValidityOutOfBoundsException
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq<ApiKeyValidityOutOfBoundsException> for ApiKeyValidityOutOfBoundsException
impl PartialEq<ApiKeyValidityOutOfBoundsException> for ApiKeyValidityOutOfBoundsException
source§fn eq(&self, other: &ApiKeyValidityOutOfBoundsException) -> bool
fn eq(&self, other: &ApiKeyValidityOutOfBoundsException) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.