[][src]Enum mailjet_rs::SendAPIVersion

pub enum SendAPIVersion {
    V3,
    V3_1,
}

Mailjet SendAPI version to use

Variants

V3

Consumes the SendAPI Version 3

https://dev.mailjet.com/email/guides/send-api-v31/

V3_1

Consumes the SendAPI Version 3.1

https://dev.mailjet.com/email/guides/send-api-v3/

Implementations

impl SendAPIVersion[src]

pub fn get_api_url(&self) -> String[src]

Retrieve the API URL to be used for the version

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> 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.