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's ID.

Display name of the user.

First name of the user.

Last name of the user.

Link to the user's profile image.

Age of the user.

Address of the user.

Trust score of the user.

Trait Implementations

impl Debug for ProfileDTO
[src]

Formats the value using the given formatter. Read more

impl Clone for ProfileDTO
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for ProfileDTO
[src]

Serialize a value using an Encoder.

impl Decodable for ProfileDTO
[src]

Deserialize a value using a Decoder.

impl DTO for ProfileDTO
[src]

Auto Trait Implementations

impl Send for ProfileDTO

impl Sync for ProfileDTO