pub struct UserRegistryEntry {
pub id: u32,
pub name: String,
pub email: Option<String>,
pub registered: DateTime<Utc>,
}Expand description
A user registration entry in the shared registry.
Fields§
§id: u32The assigned user ID
name: StringDisplay name
email: Option<String>Email address (optional)
registered: DateTime<Utc>Registration timestamp
Trait Implementations§
Source§impl Clone for UserRegistryEntry
impl Clone for UserRegistryEntry
Source§fn clone(&self) -> UserRegistryEntry
fn clone(&self) -> UserRegistryEntry
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 UserRegistryEntry
impl Debug for UserRegistryEntry
Source§impl<'de> Deserialize<'de> for UserRegistryEntry
impl<'de> Deserialize<'de> for UserRegistryEntry
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 UserRegistryEntry
impl RefUnwindSafe for UserRegistryEntry
impl Send for UserRegistryEntry
impl Sync for UserRegistryEntry
impl Unpin for UserRegistryEntry
impl UnsafeUnpin for UserRegistryEntry
impl UnwindSafe for UserRegistryEntry
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