pub struct UserActionReason {
pub code: Option<String>,
pub id: Option<Uuid>,
pub insert_instant: Option<i64>,
pub last_update_instant: Option<i64>,
pub localized_texts: Option<Value>,
pub text: Option<String>,
}
Expand description
UserActionReason : Models action reasons.
Fields§
§code: Option<String>
§id: Option<Uuid>
§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_texts: Option<Value>
Models a set of localized Strings that can be stored as JSON.
text: Option<String>
Implementations§
Source§impl UserActionReason
impl UserActionReason
Sourcepub fn new() -> UserActionReason
pub fn new() -> UserActionReason
Models action reasons.
Trait Implementations§
Source§impl Clone for UserActionReason
impl Clone for UserActionReason
Source§fn clone(&self) -> UserActionReason
fn clone(&self) -> UserActionReason
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UserActionReason
impl Debug for UserActionReason
Source§impl Default for UserActionReason
impl Default for UserActionReason
Source§fn default() -> UserActionReason
fn default() -> UserActionReason
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserActionReason
impl<'de> Deserialize<'de> for UserActionReason
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 UserActionReason
impl PartialEq for UserActionReason
Source§impl Serialize for UserActionReason
impl Serialize for UserActionReason
impl StructuralPartialEq for UserActionReason
Auto Trait Implementations§
impl Freeze for UserActionReason
impl RefUnwindSafe for UserActionReason
impl Send for UserActionReason
impl Sync for UserActionReason
impl Unpin for UserActionReason
impl UnwindSafe for UserActionReason
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