Struct lrs::user::Information

Struct holding allocated user info.

Syntax

struct Information<H = Libc>
    where H: Allocator,
{
    /* private fields */
}

Static methods

NameDescription
find_by

Finds the first user that satisfies the predicate.

find_by_with_pool

Finds the first user that satisfies the predicate.

from_user_id

Retrieves user info of the user with a certain id.

from_user_id_with_pool

Retrieves user info of the user with a certain id.

from_user_name

Retrieves user info of the user with a certain name.

from_user_name_with_pool

Retrieves user info of the user with a certain name.

Methods

ReceiverNameDescription
&selfto_info

Borrows the information.

Trait implementations

NameDescription
Debug

Objects that can be formatted in a "debug" form.

Eq

Objects that implement the binary == and != operators.

UserInfo

Objects that hold user info.