[][src]Struct socketlabz::response::MessageResult

pub struct MessageResult<'a> {
    pub index: u16,
    pub error_code: MessageResultErrorCode,
    pub address_result: Option<Vec<AddressResult<'a>>>,
}

Representation of the SocketLabs MessageResult.

Fields

index: u16

The index of the message that this response represents from the original array posted.

error_code: MessageResultErrorCode

The reason for message delivery failure when an error occurs on the message-level.

address_result: Option<Vec<AddressResult<'a>>>

An array of AddressResult objects that contain the status of each address that failed. If no messages failed this array is empty.

Trait Implementations

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

impl<'de, 'a> Deserialize<'de> for MessageResult<'a>[src]

Auto Trait Implementations

impl<'a> Send for MessageResult<'a>

impl<'a> Sync for MessageResult<'a>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err