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

The success or failure details of the overall injection request.

A unique key generated if an unexpected error occurs during injection that can be used by SocketLabs support to troubleshoot the issue.

An array of message result objects for messages that failed or have bad recipients. If there were no errors this response is empty.

Trait Implementations

impl<'a> Debug for Response<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for Response<'a>

impl<'a> Sync for Response<'a>