Struct aws_sdk_pinpoint::error::UpdateSegmentError
source · [−]#[non_exhaustive]pub struct UpdateSegmentError {
pub kind: UpdateSegmentErrorKind,
/* private fields */
}
Expand description
Error type for the UpdateSegment
operation.
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.kind: UpdateSegmentErrorKind
Kind of error that occurred.
Implementations
Creates a new UpdateSegmentError
.
Creates the UpdateSegmentError::Unhandled
variant from any error type.
Creates the UpdateSegmentError::Unhandled
variant from a aws_smithy_types::Error
.
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
Returns the request ID if it’s available.
Returns true
if the error kind is UpdateSegmentErrorKind::BadRequestException
.
Returns true
if the error kind is UpdateSegmentErrorKind::ForbiddenException
.
Returns true
if the error kind is UpdateSegmentErrorKind::InternalServerErrorException
.
Returns true
if the error kind is UpdateSegmentErrorKind::MethodNotAllowedException
.
Returns true
if the error kind is UpdateSegmentErrorKind::NotFoundException
.
Returns true
if the error kind is UpdateSegmentErrorKind::PayloadTooLargeException
.
Returns true
if the error kind is UpdateSegmentErrorKind::TooManyRequestsException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for UpdateSegmentError
impl Send for UpdateSegmentError
impl Sync for UpdateSegmentError
impl Unpin for UpdateSegmentError
impl !UnwindSafe for UpdateSegmentError
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