pub struct UserProfile {
pub schema_version: u16,
pub created_tick: Tick,
pub primary_auth_kind: AuthKind,
}Expand description
User profile Component — exactly one per User entity (invariant E-user-1).
The GDPR lifecycle pointer lives in its own UserGdprState component,
NOT here: a lifecycle transition must be writable on the viewless
dispatch-path compute (which cannot read existing state to do a
read-modify-write), so the pointer is split out to keep UserProfile’s
immutable-after-registration fields untouched by erasure transitions.
Fields§
§schema_version: u16Wire-level schema version tag (A15 succession).
created_tick: TickTick at which RegisterUser completed.
primary_auth_kind: AuthKindAuth family of the initial AuthCredential.
Trait Implementations§
Source§impl ArkheComponent for UserProfile
impl ArkheComponent for UserProfile
Source§impl Clone for UserProfile
impl Clone for UserProfile
Source§fn clone(&self) -> UserProfile
fn clone(&self) -> UserProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UserProfile
impl Debug for UserProfile
Source§impl<'de> Deserialize<'de> for UserProfile
impl<'de> Deserialize<'de> for UserProfile
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 UserProfile
impl PartialEq for UserProfile
Source§fn eq(&self, other: &UserProfile) -> bool
fn eq(&self, other: &UserProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UserProfile
impl Serialize for UserProfile
impl Eq for UserProfile
impl StructuralPartialEq for UserProfile
Auto Trait Implementations§
impl Freeze for UserProfile
impl RefUnwindSafe for UserProfile
impl Send for UserProfile
impl Sync for UserProfile
impl Unpin for UserProfile
impl UnsafeUnpin for UserProfile
impl UnwindSafe for UserProfile
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