pub struct EmailStage {Show 21 fields
pub pk: Uuid,
pub name: String,
pub component: String,
pub verbose_name: String,
pub verbose_name_plural: String,
pub meta_model_name: String,
pub flow_set: Vec<FlowSet>,
pub use_global_settings: Option<bool>,
pub host: Option<String>,
pub port: Option<i32>,
pub username: Option<String>,
pub use_tls: Option<bool>,
pub use_ssl: Option<bool>,
pub timeout: Option<i32>,
pub from_address: Option<String>,
pub token_expiry: Option<String>,
pub subject: Option<String>,
pub template: Option<String>,
pub activate_user_on_success: Option<bool>,
pub recovery_max_attempts: Option<u32>,
pub recovery_cache_timeout: Option<String>,
}Expand description
EmailStage : EmailStage Serializer
Fields§
§pk: Uuid§name: String§component: StringGet object type so that we know how to edit the object
verbose_name: StringReturn object’s verbose_name
verbose_name_plural: StringReturn object’s plural verbose_name
meta_model_name: StringReturn internal model name
flow_set: Vec<FlowSet>§use_global_settings: Option<bool>When enabled, global Email connection settings will be used and connection settings below will be ignored.
host: Option<String>§port: Option<i32>§username: Option<String>§use_tls: Option<bool>§use_ssl: Option<bool>§timeout: Option<i32>§from_address: Option<String>§token_expiry: Option<String>Time the token sent is valid (Format: hours=3,minutes=17,seconds=300).
subject: Option<String>§template: Option<String>§activate_user_on_success: Option<bool>Activate users upon completion of stage.
recovery_max_attempts: Option<u32>§recovery_cache_timeout: Option<String>The time window used to count recent account recovery attempts. If the number of attempts exceed recovery_max_attempts within this period, further attempts will be rate-limited. (Format: hours=1;minutes=2;seconds=3).
Implementations§
Trait Implementations§
Source§impl Clone for EmailStage
impl Clone for EmailStage
Source§fn clone(&self) -> EmailStage
fn clone(&self) -> EmailStage
Returns a duplicate 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 EmailStage
impl Debug for EmailStage
Source§impl Default for EmailStage
impl Default for EmailStage
Source§fn default() -> EmailStage
fn default() -> EmailStage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmailStage
impl<'de> Deserialize<'de> for EmailStage
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
Source§impl PartialEq for EmailStage
impl PartialEq for EmailStage
Source§impl Serialize for EmailStage
impl Serialize for EmailStage
impl StructuralPartialEq for EmailStage
Auto Trait Implementations§
impl Freeze for EmailStage
impl RefUnwindSafe for EmailStage
impl Send for EmailStage
impl Sync for EmailStage
impl Unpin for EmailStage
impl UnsafeUnpin for EmailStage
impl UnwindSafe for EmailStage
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