pub struct ConfigEmail {Show 26 fields
pub send_email_notifications: Option<bool>,
pub require_email_verification: Option<bool>,
pub feedback_email: Option<String>,
pub reply_to_address: Option<String>,
pub enable_smtp_auth: Option<bool>,
pub smtp_username: Option<String>,
pub smtp_password: Option<String>,
pub smtp_server: Option<String>,
pub smtp_port: Option<String>,
pub smtp_server_timeout: Option<i32>,
pub connection_security: Option<String>,
pub send_push_notifications: Option<bool>,
pub push_notification_server: Option<String>,
pub push_notification_contents: Option<String>,
pub push_notification_buffer: Option<i32>,
pub enable_email_batching: Option<bool>,
pub email_batching_buffer_size: Option<i32>,
pub email_batching_interval: Option<i32>,
pub skip_server_certificate_verification: Option<bool>,
pub email_notification_contents_type: Option<String>,
pub login_button_color: Option<String>,
pub login_button_border_color: Option<String>,
pub login_button_text_color: Option<String>,
pub rate_limiting_memory_size: Option<i32>,
pub rate_limiting_per_hour: Option<i32>,
pub rate_limiting_max_burst: Option<i32>,
}Fields§
§send_email_notifications: Option<bool>§require_email_verification: Option<bool>§feedback_email: Option<String>§reply_to_address: Option<String>§enable_smtp_auth: Option<bool>§smtp_username: Option<String>§smtp_password: Option<String>§smtp_server: Option<String>§smtp_port: Option<String>§smtp_server_timeout: Option<i32>§connection_security: Option<String>§send_push_notifications: Option<bool>§push_notification_server: Option<String>§push_notification_contents: Option<String>§push_notification_buffer: Option<i32>§enable_email_batching: Option<bool>§email_batching_buffer_size: Option<i32>§email_batching_interval: Option<i32>§skip_server_certificate_verification: Option<bool>§email_notification_contents_type: Option<String>§rate_limiting_memory_size: Option<i32>§rate_limiting_per_hour: Option<i32>§rate_limiting_max_burst: Option<i32>Implementations§
Source§impl ConfigEmail
impl ConfigEmail
Sourcepub fn send_email_notifications(&self) -> bool
pub fn send_email_notifications(&self) -> bool
Returns the value of send_email_notifications, or the default value if send_email_notifications is unset.
Sourcepub fn require_email_verification(&self) -> bool
pub fn require_email_verification(&self) -> bool
Returns the value of require_email_verification, or the default value if require_email_verification is unset.
Sourcepub fn feedback_email(&self) -> &str
pub fn feedback_email(&self) -> &str
Returns the value of feedback_email, or the default value if feedback_email is unset.
Sourcepub fn reply_to_address(&self) -> &str
pub fn reply_to_address(&self) -> &str
Returns the value of reply_to_address, or the default value if reply_to_address is unset.
Sourcepub fn enable_smtp_auth(&self) -> bool
pub fn enable_smtp_auth(&self) -> bool
Returns the value of enable_smtp_auth, or the default value if enable_smtp_auth is unset.
Sourcepub fn smtp_username(&self) -> &str
pub fn smtp_username(&self) -> &str
Returns the value of smtp_username, or the default value if smtp_username is unset.
Sourcepub fn smtp_password(&self) -> &str
pub fn smtp_password(&self) -> &str
Returns the value of smtp_password, or the default value if smtp_password is unset.
Sourcepub fn smtp_server(&self) -> &str
pub fn smtp_server(&self) -> &str
Returns the value of smtp_server, or the default value if smtp_server is unset.
Sourcepub fn smtp_port(&self) -> &str
pub fn smtp_port(&self) -> &str
Returns the value of smtp_port, or the default value if smtp_port is unset.
Sourcepub fn smtp_server_timeout(&self) -> i32
pub fn smtp_server_timeout(&self) -> i32
Returns the value of smtp_server_timeout, or the default value if smtp_server_timeout is unset.
Sourcepub fn connection_security(&self) -> &str
pub fn connection_security(&self) -> &str
Returns the value of connection_security, or the default value if connection_security is unset.
Sourcepub fn send_push_notifications(&self) -> bool
pub fn send_push_notifications(&self) -> bool
Returns the value of send_push_notifications, or the default value if send_push_notifications is unset.
Sourcepub fn push_notification_server(&self) -> &str
pub fn push_notification_server(&self) -> &str
Returns the value of push_notification_server, or the default value if push_notification_server is unset.
Sourcepub fn push_notification_contents(&self) -> &str
pub fn push_notification_contents(&self) -> &str
Returns the value of push_notification_contents, or the default value if push_notification_contents is unset.
Sourcepub fn push_notification_buffer(&self) -> i32
pub fn push_notification_buffer(&self) -> i32
Returns the value of push_notification_buffer, or the default value if push_notification_buffer is unset.
Sourcepub fn enable_email_batching(&self) -> bool
pub fn enable_email_batching(&self) -> bool
Returns the value of enable_email_batching, or the default value if enable_email_batching is unset.
Sourcepub fn email_batching_buffer_size(&self) -> i32
pub fn email_batching_buffer_size(&self) -> i32
Returns the value of email_batching_buffer_size, or the default value if email_batching_buffer_size is unset.
Sourcepub fn email_batching_interval(&self) -> i32
pub fn email_batching_interval(&self) -> i32
Returns the value of email_batching_interval, or the default value if email_batching_interval is unset.
Sourcepub fn skip_server_certificate_verification(&self) -> bool
pub fn skip_server_certificate_verification(&self) -> bool
Returns the value of skip_server_certificate_verification, or the default value if skip_server_certificate_verification is unset.
Sourcepub fn email_notification_contents_type(&self) -> &str
pub fn email_notification_contents_type(&self) -> &str
Returns the value of email_notification_contents_type, or the default value if email_notification_contents_type is unset.
Returns the value of login_button_color, or the default value if login_button_color is unset.
Returns the value of login_button_border_color, or the default value if login_button_border_color is unset.
Returns the value of login_button_text_color, or the default value if login_button_text_color is unset.
Sourcepub fn rate_limiting_memory_size(&self) -> i32
pub fn rate_limiting_memory_size(&self) -> i32
Returns the value of rate_limiting_memory_size, or the default value if rate_limiting_memory_size is unset.
Sourcepub fn rate_limiting_per_hour(&self) -> i32
pub fn rate_limiting_per_hour(&self) -> i32
Returns the value of rate_limiting_per_hour, or the default value if rate_limiting_per_hour is unset.
Sourcepub fn rate_limiting_max_burst(&self) -> i32
pub fn rate_limiting_max_burst(&self) -> i32
Returns the value of rate_limiting_max_burst, or the default value if rate_limiting_max_burst is unset.
Trait Implementations§
Source§impl Clone for ConfigEmail
impl Clone for ConfigEmail
Source§fn clone(&self) -> ConfigEmail
fn clone(&self) -> ConfigEmail
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConfigEmail
impl Debug for ConfigEmail
Source§impl Default for ConfigEmail
impl Default for ConfigEmail
Source§impl<'de> Deserialize<'de> for ConfigEmail
impl<'de> Deserialize<'de> for ConfigEmail
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>,
Source§impl Message for ConfigEmail
impl Message for ConfigEmail
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for ConfigEmail
impl PartialEq for ConfigEmail
Source§impl Serialize for ConfigEmail
impl Serialize for ConfigEmail
impl StructuralPartialEq for ConfigEmail
Auto Trait Implementations§
impl Freeze for ConfigEmail
impl RefUnwindSafe for ConfigEmail
impl Send for ConfigEmail
impl Sync for ConfigEmail
impl Unpin for ConfigEmail
impl UnwindSafe for ConfigEmail
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request