Struct config::PrivatEmailConfig [−][src]
pub struct PrivatEmailConfig {
pub from_email: String,
pub to_email: String,
pub black_list: Option<Vec<String>>,
}Expand description
Config object for PrivatEmail.
Implements serde::Deserialize and serde::Serialize and
can be composed with other consumer configs.
PrivatEmailConfig:
from_email: Original Recipient Email from Verified SES Domain
to_email: Recipient SES verified email address which receives the forwarded email
black_list: Black listed email addresses.
Fields
from_email: StringOriginal Recipient Email from Verified SES Domain
to_email: StringRecipient email address that receives the forwarded SES email
black_list: Option<Vec<String>>Black Listed email addresses
Implementations
Create a new PrivatEmailConfig client struct from environment variables.
Trait Implementations
Default configuration for PrivatEmailConfig
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PrivatEmailConfig
impl Send for PrivatEmailConfig
impl Sync for PrivatEmailConfig
impl Unpin for PrivatEmailConfig
impl UnwindSafe for PrivatEmailConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
