Struct aws_sdk_codeartifact::model::PackageVersionError [−][src]
#[non_exhaustive]pub struct PackageVersionError {
pub error_code: Option<PackageVersionErrorCode>,
pub error_message: Option<String>,
}
Expand description
An error associated with package.
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.error_code: Option<PackageVersionErrorCode>
The error code associated with the error. Valid error codes are:
-
ALREADY_EXISTS
-
MISMATCHED_REVISION
-
MISMATCHED_STATUS
-
NOT_ALLOWED
-
NOT_FOUND
-
SKIPPED
error_message: Option<String>
The error message associated with the error.
Implementations
The error code associated with the error. Valid error codes are:
-
ALREADY_EXISTS
-
MISMATCHED_REVISION
-
MISMATCHED_STATUS
-
NOT_ALLOWED
-
NOT_FOUND
-
SKIPPED
The error message associated with the error.
Creates a new builder-style object to manufacture PackageVersionError
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PackageVersionError
impl Send for PackageVersionError
impl Sync for PackageVersionError
impl Unpin for PackageVersionError
impl UnwindSafe for PackageVersionError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more