Struct digitalocean::api::Account
source · pub struct Account { /* private fields */ }
Expand description
The user account.
Implementations§
source§impl Account
impl Account
sourcepub fn droplet_limit(&self) -> &usize
pub fn droplet_limit(&self) -> &usize
The total number of droplets the user may have.
sourcepub fn floating_ip_limit(&self) -> &usize
pub fn floating_ip_limit(&self) -> &usize
The total number of floating IPs the user may have.
sourcepub fn email_verified(&self) -> &bool
pub fn email_verified(&self) -> &bool
If true, the user has verified their account via email. False otherwise.
sourcepub fn status_message(&self) -> &String
pub fn status_message(&self) -> &String
A human-readable message giving more details about the status of the account.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Account
impl<'de> Deserialize<'de> for Account
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more