Struct config::PrivatEmailConfig
source · [−]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
sourceimpl PrivatEmailConfig
impl PrivatEmailConfig
Create a new PrivatEmailConfig client struct from environment variables.
Trait Implementations
sourceimpl Clone for PrivatEmailConfig
impl Clone for PrivatEmailConfig
sourcefn clone(&self) -> PrivatEmailConfig
fn clone(&self) -> PrivatEmailConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PrivatEmailConfig
impl Debug for PrivatEmailConfig
sourceimpl Default for PrivatEmailConfig
impl Default for PrivatEmailConfig
Default configuration for PrivatEmailConfig
sourceimpl PartialEq<PrivatEmailConfig> for PrivatEmailConfig
impl PartialEq<PrivatEmailConfig> for PrivatEmailConfig
sourcefn eq(&self, other: &PrivatEmailConfig) -> bool
fn eq(&self, other: &PrivatEmailConfig) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &PrivatEmailConfig) -> bool
fn ne(&self, other: &PrivatEmailConfig) -> bool
This method tests for !=.
sourceimpl Serialize for PrivatEmailConfig
impl Serialize for PrivatEmailConfig
impl StructuralPartialEq for PrivatEmailConfig
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more