Struct chorus::types::EmailConfiguration
source · pub struct EmailConfiguration {
pub provider: Option<EmailProvider>,
pub smtp: SMTPConfiguration,
pub mailgun: MailGunConfiguration,
pub mailjet: MailJetConfiguration,
pub sendgrid: SendGridConfiguration,
}
Fields§
§provider: Option<EmailProvider>
§smtp: SMTPConfiguration
§mailgun: MailGunConfiguration
§mailjet: MailJetConfiguration
§sendgrid: SendGridConfiguration
Trait Implementations§
source§impl Clone for EmailConfiguration
impl Clone for EmailConfiguration
source§fn clone(&self) -> EmailConfiguration
fn clone(&self) -> EmailConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EmailConfiguration
impl Debug for EmailConfiguration
source§impl Default for EmailConfiguration
impl Default for EmailConfiguration
source§fn default() -> EmailConfiguration
fn default() -> EmailConfiguration
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EmailConfiguration
impl<'de> Deserialize<'de> for EmailConfiguration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for EmailConfiguration
impl PartialEq for EmailConfiguration
source§fn eq(&self, other: &EmailConfiguration) -> bool
fn eq(&self, other: &EmailConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EmailConfiguration
impl Serialize for EmailConfiguration
impl Eq for EmailConfiguration
impl StructuralEq for EmailConfiguration
impl StructuralPartialEq for EmailConfiguration
Auto Trait Implementations§
impl RefUnwindSafe for EmailConfiguration
impl Send for EmailConfiguration
impl Sync for EmailConfiguration
impl Unpin for EmailConfiguration
impl UnwindSafe for EmailConfiguration
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.