Struct headless_lms_models::user_details::UserDetail
source · pub struct UserDetail {
pub user_id: Uuid,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub email: String,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub search_helper: Option<String>,
}
Fields§
§user_id: Uuid
§created_at: DateTime<Utc>
§updated_at: DateTime<Utc>
§email: String
§first_name: Option<String>
§last_name: Option<String>
§search_helper: Option<String>
Trait Implementations§
source§impl Clone for UserDetail
impl Clone for UserDetail
source§fn clone(&self) -> UserDetail
fn clone(&self) -> UserDetail
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 UserDetail
impl Debug for UserDetail
source§impl<'de> Deserialize<'de> for UserDetail
impl<'de> Deserialize<'de> for UserDetail
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 UserDetail
impl PartialEq for UserDetail
source§fn eq(&self, other: &UserDetail) -> bool
fn eq(&self, other: &UserDetail) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UserDetail
impl Serialize for UserDetail
impl StructuralPartialEq for UserDetail
Auto Trait Implementations§
impl RefUnwindSafe for UserDetail
impl Send for UserDetail
impl Sync for UserDetail
impl Unpin for UserDetail
impl UnwindSafe for UserDetail
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