#[non_exhaustive]pub struct ApiErrorType {
pub secret_id: Option<String>,
pub error_code: Option<String>,
pub message: Option<String>,
}Expand description
The error Secrets Manager encountered while retrieving an individual secret as part of BatchGetSecretValue.
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.secret_id: Option<String>The ARN or name of the secret.
error_code: Option<String>The error Secrets Manager encountered while retrieving an individual secret as part of BatchGetSecretValue, for example ResourceNotFoundException,InvalidParameterException, InvalidRequestException, DecryptionFailure, or AccessDeniedException.
message: Option<String>A message describing the error.
Implementations§
Source§impl ApiErrorType
impl ApiErrorType
Sourcepub fn error_code(&self) -> Option<&str>
pub fn error_code(&self) -> Option<&str>
The error Secrets Manager encountered while retrieving an individual secret as part of BatchGetSecretValue, for example ResourceNotFoundException,InvalidParameterException, InvalidRequestException, DecryptionFailure, or AccessDeniedException.
Source§impl ApiErrorType
impl ApiErrorType
Sourcepub fn builder() -> ApiErrorTypeBuilder
pub fn builder() -> ApiErrorTypeBuilder
Creates a new builder-style object to manufacture ApiErrorType.
Source§impl ApiErrorType
impl ApiErrorType
Sourcepub fn deserialize(
deserializer: &mut dyn ShapeDeserializer,
) -> Result<Self, SerdeError>
pub fn deserialize( deserializer: &mut dyn ShapeDeserializer, ) -> Result<Self, SerdeError>
Deserializes this structure from a [ShapeDeserializer].
Trait Implementations§
Source§impl Clone for ApiErrorType
impl Clone for ApiErrorType
Source§fn clone(&self) -> ApiErrorType
fn clone(&self) -> ApiErrorType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ApiErrorType
impl Debug for ApiErrorType
Source§impl PartialEq for ApiErrorType
impl PartialEq for ApiErrorType
Source§impl SerializableStruct for ApiErrorType
impl SerializableStruct for ApiErrorType
Source§fn schema(&self) -> &Schema<'_>
fn schema(&self) -> &Schema<'_>
Source§fn serialize_members(
&self,
ser: &mut dyn ShapeSerializer,
) -> Result<(), SerdeError>
fn serialize_members( &self, ser: &mut dyn ShapeSerializer, ) -> Result<(), SerdeError>
impl StructuralPartialEq for ApiErrorType
Auto Trait Implementations§
impl Freeze for ApiErrorType
impl RefUnwindSafe for ApiErrorType
impl Send for ApiErrorType
impl Sync for ApiErrorType
impl Unpin for ApiErrorType
impl UnsafeUnpin for ApiErrorType
impl UnwindSafe for ApiErrorType
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§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