pub struct ManagedEmailConfig {
pub postmark_server_token: String,
pub base_domain: String,
pub default_from_local_part: String,
pub timeout: Duration,
}Expand description
Deployment-wide config for the managed sender. The factory passes a clone of this into every per-tenant sender it builds.
Fields§
§postmark_server_token: StringPostmark “Server” API token.
base_domain: StringBase domain used to compose the default From-address
(<local>@mail.<base_domain>). Same value as
SaasConfig.base_domain.
default_from_local_part: StringLocal part of the default From-address. Default "noreply".
timeout: DurationPer-request timeout. Default 10s.
Trait Implementations§
Source§impl Clone for ManagedEmailConfig
impl Clone for ManagedEmailConfig
Source§fn clone(&self) -> ManagedEmailConfig
fn clone(&self) -> ManagedEmailConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ManagedEmailConfig
impl Debug for ManagedEmailConfig
Auto Trait Implementations§
impl Freeze for ManagedEmailConfig
impl RefUnwindSafe for ManagedEmailConfig
impl Send for ManagedEmailConfig
impl Sync for ManagedEmailConfig
impl Unpin for ManagedEmailConfig
impl UnsafeUnpin for ManagedEmailConfig
impl UnwindSafe for ManagedEmailConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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