Struct aws_sdk_pinpoint::model::MessageResponse
source · [−]#[non_exhaustive]pub struct MessageResponse {
pub application_id: Option<String>,
pub endpoint_result: Option<HashMap<String, EndpointMessageResult>>,
pub request_id: Option<String>,
pub result: Option<HashMap<String, MessageResult>>,
}
Expand description
Provides information about the results of a request to send a message to an endpoint address.
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.application_id: Option<String>
The unique identifier for the application that was used to send the message.
endpoint_result: Option<HashMap<String, EndpointMessageResult>>
A map that contains a multipart response for each address that the message was sent to. In the map, the endpoint ID is the key and the result is the value.
request_id: Option<String>
The identifier for the original request that the message was delivered for.
result: Option<HashMap<String, MessageResult>>
A map that contains a multipart response for each address (email address, phone number, or push notification token) that the message was sent to. In the map, the address is the key and the result is the value.
Implementations
The unique identifier for the application that was used to send the message.
A map that contains a multipart response for each address that the message was sent to. In the map, the endpoint ID is the key and the result is the value.
The identifier for the original request that the message was delivered for.
Creates a new builder-style object to manufacture MessageResponse
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 MessageResponse
impl Send for MessageResponse
impl Sync for MessageResponse
impl Unpin for MessageResponse
impl UnwindSafe for MessageResponse
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