Struct fractal_api::v1::types::User [] [src]

pub struct User {
    // some fields omitted
}

Struct that holds all personal information for the user.

Methods

impl User
[src]

Gets the ID of the user.

Gets the username of the user.

Gets the displayname of the user

Gets the email of the user.

Returns wether the email of the user has been confirmed or not.

Gets the first name of the user, if it has been set.

Returns wether the first name of the user has been confirmed or not.

Gets the last name of the user, if it has been set.

Returns wether the last name of the user has been confirmed or not.

Gets the device count of the user.

Gets an iterator through the wallet addresses of the user.

Gets the checking balance of the user.

Gets the cold balance of the user.

Gets the bonds purchased by the user.

Gets the birthday of the user, if it has been set.

Returns wether the birthday of the user has been confirmed or not.

Gets the phone of the user, if it has been set.

Returns wether the phone of the user has been confirmed or not.

Gets the image of the user, if it has been set.

Gets the address of the user, if it has been set.

Returns wether the address of the user is confirmed or not.

Gets the sybil score of the user.

Gets the trust score of the user.

Returns wether the user is enabled or not.

Gets the registration time of the user.

Gets the last activity time of the user.

Returns wether the user is banned or not.

Returns the ban's expiration time, if it has been set.

Trait Implementations

impl Clone for User
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for User
[src]

Formats the value using the given formatter.

impl FromDTO<UserDTO> for User
[src]

the from dto wrapper