Struct screeps_api::endpoints::register::Details [] [src]

pub struct Details<'a> {
    pub username: Cow<'a, str>,
    pub email: Option<Cow<'a, str>>,
    pub password: Cow<'a, str>,
}

Registration details

Fields

The username to register.

The email to register with, or None.

The password to register with.

Methods

impl<'a> Details<'a>
[src]

[src]

Create a new registration details with the given username and password

[src]

Create a new registration details with the given username and password

Trait Implementations

impl<'a> Clone for Details<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Hash for Details<'a>
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<'a> Debug for Details<'a>
[src]

[src]

Formats the value using the given formatter.