Struct lrs::user::Info

Struct holding non-allocated user info.

Syntax

struct Info<'a> {
    /* private fields */
}

Static methods

NameDescription
find_by

Finds the first user that satisfies a predicate.

from_user_id

Retrieves user info of the user with a certain id.

from_user_name

Retrieves user info of the user with a certain name.

Trait implementations

NameDescription
Clone

Objects that can be duplicated.

Copy

Objects that can safely be copied via memcpy.

Debug

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

Eq

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

MaybeClone

Objects that can be duplicated.

ToOwned

Objects that can be converted into an owned version.

UserInfo

Objects that hold user info.