Struct screeps_api::endpoints::login::LoggedIn [] [src]

#[must_use = "LoggedIn does not do anything unless registered in a token store"]
pub struct LoggedIn { pub token: String, // some fields omitted }

The result of a call to log in.

Fields

The token which can be used to make future authenticated API calls.

Methods

impl LoggedIn
[src]

[src]

Stores the token into the given token storage.

Trait Implementations

impl Clone for LoggedIn
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Hash for LoggedIn
[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 Debug for LoggedIn
[src]

[src]

Formats the value using the given formatter.