[][src]Struct digitalocean::api::Account

pub struct Account { /* fields omitted */ }

The user account.

Digital Ocean Documentation.

Implementations

impl Account[src]

pub fn droplet_limit(&self) -> &usize[src]

The total number of droplets the user may have.

pub fn floating_ip_limit(&self) -> &usize[src]

The total number of floating IPs the user may have.

pub fn email(&self) -> &String[src]

The email the user has registered for Digital Ocean with.

pub fn uuid(&self) -> &String[src]

The universal identifier for this user.

pub fn email_verified(&self) -> &bool[src]

If true, the user has verified their account via email. False otherwise.

pub fn status(&self) -> &String[src]

This value is one of "active", "warning" or "locked".

pub fn status_message(&self) -> &String[src]

A human-readable message giving more details about the status of the account.

impl Account[src]

Trait Implementations

impl Clone for Account[src]

impl Debug for Account[src]

impl<'de> Deserialize<'de> for Account[src]

impl HasResponse for Account[src]

type Response = AccountResponse

impl Serialize for Account[src]

Auto Trait Implementations

impl RefUnwindSafe for Account

impl Send for Account

impl Sync for Account

impl Unpin for Account

impl UnwindSafe for Account

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,