pub enum EmailProviders {
SendGrid(SendGrid),
Resend(Resend),
MailCommand(MailCommand),
}
Expand description
An enum containing all Email Provider implementations.
Variants§
Trait Implementations§
Source§impl Debug for EmailProviders
impl Debug for EmailProviders
Source§impl EmailProvider for EmailProviders
impl EmailProvider for EmailProviders
Source§impl From<MailCommand> for EmailProviders
impl From<MailCommand> for EmailProviders
Source§fn from(v: MailCommand) -> EmailProviders
fn from(v: MailCommand) -> EmailProviders
Converts to this type from the input type.
Source§impl From<Resend> for EmailProviders
impl From<Resend> for EmailProviders
Source§fn from(v: Resend) -> EmailProviders
fn from(v: Resend) -> EmailProviders
Converts to this type from the input type.
Source§impl From<SendGrid> for EmailProviders
impl From<SendGrid> for EmailProviders
Source§fn from(v: SendGrid) -> EmailProviders
fn from(v: SendGrid) -> EmailProviders
Converts to this type from the input type.
Source§impl TryFrom<String> for EmailProviders
impl TryFrom<String> for EmailProviders
Source§impl TryInto<MailCommand> for EmailProviders
impl TryInto<MailCommand> for EmailProviders
Source§impl TryInto<Resend> for EmailProviders
impl TryInto<Resend> for EmailProviders
Auto Trait Implementations§
impl Freeze for EmailProviders
impl RefUnwindSafe for EmailProviders
impl Send for EmailProviders
impl Sync for EmailProviders
impl Unpin for EmailProviders
impl UnwindSafe for EmailProviders
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more