Struct fusionauth_rust_client::models::user_action::UserAction
source · pub struct UserAction {Show 18 fields
pub active: Option<bool>,
pub cancel_email_template_id: Option<Uuid>,
pub end_email_template_id: Option<Uuid>,
pub id: Option<Uuid>,
pub include_email_in_event_json: Option<bool>,
pub insert_instant: Option<i64>,
pub last_update_instant: Option<i64>,
pub localized_names: Option<Value>,
pub modify_email_template_id: Option<Uuid>,
pub name: Option<String>,
pub options: Option<Vec<UserActionOption>>,
pub prevent_login: Option<bool>,
pub send_end_event: Option<bool>,
pub start_email_template_id: Option<Uuid>,
pub temporal: Option<bool>,
pub transaction_type: Option<TransactionType>,
pub user_emailing_enabled: Option<bool>,
pub user_notifications_enabled: Option<bool>,
}
Expand description
UserAction : An action that can be executed on a user (discipline or reward potentially).
Fields§
§active: Option<bool>
§cancel_email_template_id: Option<Uuid>
§end_email_template_id: Option<Uuid>
§id: Option<Uuid>
§include_email_in_event_json: Option<bool>
§insert_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
last_update_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
localized_names: Option<Value>
Models a set of localized Strings that can be stored as JSON.
modify_email_template_id: Option<Uuid>
§name: Option<String>
§options: Option<Vec<UserActionOption>>
§prevent_login: Option<bool>
§send_end_event: Option<bool>
§start_email_template_id: Option<Uuid>
§temporal: Option<bool>
§transaction_type: Option<TransactionType>
§user_emailing_enabled: Option<bool>
§user_notifications_enabled: Option<bool>
Implementations§
source§impl UserAction
impl UserAction
sourcepub fn new() -> UserAction
pub fn new() -> UserAction
An action that can be executed on a user (discipline or reward potentially).
Trait Implementations§
source§impl Clone for UserAction
impl Clone for UserAction
source§fn clone(&self) -> UserAction
fn clone(&self) -> UserAction
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 UserAction
impl Debug for UserAction
source§impl Default for UserAction
impl Default for UserAction
source§fn default() -> UserAction
fn default() -> UserAction
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UserAction
impl<'de> Deserialize<'de> for UserAction
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 UserAction
impl PartialEq for UserAction
source§fn eq(&self, other: &UserAction) -> bool
fn eq(&self, other: &UserAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UserAction
impl Serialize for UserAction
impl StructuralPartialEq for UserAction
Auto Trait Implementations§
impl RefUnwindSafe for UserAction
impl Send for UserAction
impl Sync for UserAction
impl Unpin for UserAction
impl UnwindSafe for UserAction
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