Struct rincon_client::user::types::User [] [src]

pub struct User<E> where
    E: UserExtra
{ /* fields omitted */ }

This struct contains the properties of a user.

The type parameter E specifies the type of the extra data about the user. If users are created without any extra data one can use the provided Empty type.

Methods

impl<E> User<E> where
    E: UserExtra
[src]

[src]

Returns the name of the user.

[src]

Returns whether the user is active or not.

[src]

Returns the extra data assigned to this user.

Trait Implementations

impl<E: Debug> Debug for User<E> where
    E: UserExtra
[src]

[src]

Formats the value using the given formatter. Read more

impl<E: Clone> Clone for User<E> where
    E: UserExtra
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<E> From<User<E>> for UserUpdate<E> where
    E: UserExtra + Clone
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl<E> Send for User<E> where
    E: Send

impl<E> Sync for User<E> where
    E: Sync