Struct fractal_dto::v1::user::ProfileDTO
[−]
[src]
pub struct ProfileDTO { pub user_id: u64, pub display_name: String, pub first_name: Option<String>, pub last_name: Option<String>, pub image_url: Option<String>, pub age: Option<u8>, pub address: Option<String>, pub trust_score: i8, }
Struct for profiles
Fields
user_id: u64
User's ID.
display_name: String
Display name of the user.
first_name: Option<String>
First name of the user.
last_name: Option<String>
Last name of the user.
image_url: Option<String>
Link to the user's profile image.
age: Option<u8>
Age of the user.
address: Option<String>
Address of the user.
trust_score: i8
Trust score of the user.
Trait Implementations
impl Debug for ProfileDTO
[src]
impl Clone for ProfileDTO
[src]
fn clone(&self) -> ProfileDTO
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more