pub struct AccountLifeCycle {
pub domain_name: SecretResolver<String>,
pub domain_url: Option<SecretResolver<String>>,
pub locale: Option<SecretResolver<String>>,
pub token_expiration: SecretResolver<i64>,
pub noreply_name: Option<SecretResolver<String>>,
pub noreply_email: SecretResolver<String>,
pub support_name: Option<SecretResolver<String>>,
pub support_email: SecretResolver<String>,
/* private fields */
}
Expand description
This struct is used to manage the token secret and the token expiration times.
This is not the final position of this struct, it will be moved to a dedicated module in the future.
Fields§
§domain_name: SecretResolver<String>
Domain name
domain_url: Option<SecretResolver<String>>
Domain URL
locale: Option<SecretResolver<String>>
Default language
token_expiration: SecretResolver<i64>
Token expiration time in seconds
This information is used to calculate the lifetime for new user registration
noreply_name: Option<SecretResolver<String>>
General Purpose email name
noreply_email: SecretResolver<String>
General Purpose email
support_name: Option<SecretResolver<String>>
Support email name
support_email: SecretResolver<String>
Support email
Trait Implementations§
Source§impl Clone for AccountLifeCycle
impl Clone for AccountLifeCycle
Source§fn clone(&self) -> AccountLifeCycle
fn clone(&self) -> AccountLifeCycle
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 AccountLifeCycle
impl Debug for AccountLifeCycle
Source§impl<'de> Deserialize<'de> for AccountLifeCycle
impl<'de> Deserialize<'de> for AccountLifeCycle
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
Auto Trait Implementations§
impl Freeze for AccountLifeCycle
impl RefUnwindSafe for AccountLifeCycle
impl Send for AccountLifeCycle
impl Sync for AccountLifeCycle
impl Unpin for AccountLifeCycle
impl UnwindSafe for AccountLifeCycle
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