Enum mailjet_rs::SendAPIVersion
source · pub enum SendAPIVersion {
V3,
V3_1,
}
Expand description
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§
source§impl SendAPIVersion
impl SendAPIVersion
sourcepub fn get_api_url(&self) -> String
pub fn get_api_url(&self) -> String
Retrieve the API URL to be used for the version