Struct socketlabs::response::Response [−][src]
pub struct Response<'a> { pub error_code: PostMessageErrorCode, pub transaction_receipt: Option<Cow<'a, str>>, pub message_results: Option<Vec<MessageResult<'a>>>, }
Representation of the SocketLabs PostResponse.
Fields
error_code: PostMessageErrorCode
The success or failure details of the overall injection request.
transaction_receipt: Option<Cow<'a, str>>
A unique key generated if an unexpected error occurs during injection that can be used by SocketLabs support to troubleshoot the issue.
message_results: Option<Vec<MessageResult<'a>>>
An array of message result objects for messages that failed or have bad recipients. If there were no errors this response is empty.