Struct digitalocean::api::Account
[−]
pub struct Account { /* fields omitted */ }
The user account.
Methods
impl Account
fn droplet_limit(&self) -> &usize
The total number of droplets the user may have.
fn floating_ip_limit(&self) -> &usize
The total number of floating IPs the user may have.
fn email(&self) -> &String
The email the user has registered for Digital Ocean with.
fn uuid(&self) -> &String
The universal identifier for this user.
fn email_verified(&self) -> &bool
If true, the user has verified their account via email. False otherwise.
fn status(&self) -> &String
This value is one of "active", "warning" or "locked".
fn status_message(&self) -> &String
A human-readable message giving more details about the status of the account.
impl Account
[src]
fn get() -> AccountRequest<Get, Account>
Trait Implementations
impl Debug for Account
[src]
impl Clone for Account
[src]
fn clone(&self) -> Account
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more