[][src]Struct twrs_sms::TwilioReply

pub struct TwilioReply { /* fields omitted */ }

Struct to deserialize the Twilio reply from the post to the API This is used to inspect the response to ensure the message was delivered

Methods

impl TwilioReply[src]

pub fn decode(response: &mut Response) -> Result<TwilioReply, TWRSError>[src]

Deserialize the response from the Twilio API directly from the reqwest::blocking::Response struct

pub fn decode_str(response: &str) -> Result<TwilioReply, Error>[src]

Deserialize the response from a &str

Trait Implementations

impl Debug for TwilioReply[src]

impl<'de> Deserialize<'de> for TwilioReply[src]

impl Eq for TwilioReply[src]

impl PartialEq<TwilioReply> for TwilioReply[src]

impl Serialize for TwilioReply[src]

impl StructuralEq for TwilioReply[src]

impl StructuralPartialEq for TwilioReply[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>,