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
Auto Trait Implementations§
impl Freeze for SendAPIVersion
impl RefUnwindSafe for SendAPIVersion
impl Send for SendAPIVersion
impl Sync for SendAPIVersion
impl Unpin for SendAPIVersion
impl UnwindSafe for SendAPIVersion
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more