Struct aws_sdk_connect::types::FailedRequest
source · #[non_exhaustive]pub struct FailedRequest {
pub request_identifier: Option<String>,
pub failure_reason_code: Option<FailureReasonCode>,
pub failure_reason_message: Option<String>,
}
Expand description
Request for which contact failed to be generated.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.request_identifier: Option<String>
Request identifier provided in the API call in the ContactDataRequest to create a contact.
failure_reason_code: Option<FailureReasonCode>
Reason code for the failure.
failure_reason_message: Option<String>
Why the request to create a contact failed.
Implementations§
source§impl FailedRequest
impl FailedRequest
sourcepub fn request_identifier(&self) -> Option<&str>
pub fn request_identifier(&self) -> Option<&str>
Request identifier provided in the API call in the ContactDataRequest to create a contact.
sourcepub fn failure_reason_code(&self) -> Option<&FailureReasonCode>
pub fn failure_reason_code(&self) -> Option<&FailureReasonCode>
Reason code for the failure.
sourcepub fn failure_reason_message(&self) -> Option<&str>
pub fn failure_reason_message(&self) -> Option<&str>
Why the request to create a contact failed.
source§impl FailedRequest
impl FailedRequest
sourcepub fn builder() -> FailedRequestBuilder
pub fn builder() -> FailedRequestBuilder
Creates a new builder-style object to manufacture FailedRequest
.
Trait Implementations§
source§impl Clone for FailedRequest
impl Clone for FailedRequest
source§fn clone(&self) -> FailedRequest
fn clone(&self) -> FailedRequest
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 Debug for FailedRequest
impl Debug for FailedRequest
source§impl PartialEq for FailedRequest
impl PartialEq for FailedRequest
source§fn eq(&self, other: &FailedRequest) -> bool
fn eq(&self, other: &FailedRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FailedRequest
Auto Trait Implementations§
impl RefUnwindSafe for FailedRequest
impl Send for FailedRequest
impl Sync for FailedRequest
impl Unpin for FailedRequest
impl UnwindSafe for FailedRequest
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.