pub struct UserResponse {
pub id: Uuid,
pub username: String,
pub email: String,
pub is_active: bool,
pub is_verified: bool,
pub profile: UserProfileResponse,
pub created_at: String,
pub modified_at: String,
}Expand description
User response DTO
Fields§
§id: Uuid§username: String§email: String§is_active: bool§is_verified: bool§profile: UserProfileResponse§created_at: String§modified_at: StringTrait Implementations§
Source§impl Debug for UserResponse
impl Debug for UserResponse
Auto Trait Implementations§
impl Freeze for UserResponse
impl RefUnwindSafe for UserResponse
impl Send for UserResponse
impl Sync for UserResponse
impl Unpin for UserResponse
impl UnsafeUnpin for UserResponse
impl UnwindSafe for UserResponse
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